CSS Named Color Reference

Beige Color Code

Beige·#F5F5DC

Yellow FamilyWarmLight toneMid saturationoklch(96.4% 0.033 107)
HEX
#F5F5DCPrimary token
RGB
rgb(245, 245, 220)Screen values
HSL
hsl(60 56% 91%)Hue and lightness
CMYK
0, 0, 10, 4Print handoff
LAB
96, -4, 12Perceptual reference
OKLCH
oklch(96.4% 0.033 107)Modern perceptual

Beige is a light, balanced CSS named color at #F5F5DC. If you searched for beige hex code, F5F5DC, or beige RGB, this page gives the exact color value, conversion formats, contrast checks, nearby colors, and links into the lookup and converter workflows.

Best text colorDark text
Body text contrast15.50:1
Best UseAttention markers, highlights, warm backgrounds, and caution-adjacent states

Tonal Scale

100#FDFDF9
300#FAFAEF
500#F7F7E2
600#F5F5DC
800#B0B09E

Contrast Checks

White text on this color

Buttons, badges, and filled actions.

1.11:1Needs more separation

Dark text on this color

Large headings and selective UI.

15.50:1AAA-level contrast

This color on light surface

Links, borders, and icons on light UI.

1.05:1Needs more separation
Best text colorDark textContrast 15.50:1

Professional Reference

OKLCHoklch(96.4% 0.033 107)
Relative Luminance0.8988
Source TypeCSS Named Color
Classification
Yellow FamilyWarmLight toneMid saturation
Source Context
Source Type
CSS Named Color
System
CSS
Closest Matches
Material Amber 50CornsilkMaterial Lime 50
Color Notes
  • Beige is kept as an exact CSS named color for #F5F5DC.
  • Queries for beige color code, F5F5DC, or beige RGB usually need the value first, then contrast and implementation context.

Accessibility Matrix

White text on this color

White text placed on the current color.

1.11:1Needs more separation

Dark text on this color

Dark text or headings on the current color.

15.50:1AAA

This color on light surface

Use this color for links, strokes, or icons on light UI.

1.05:1Needs more separation

This color on dark surface

Use this color inside dark shells for strokes, tags, or icons.

15.50:1AAA
Best text colorDark textContrast 15.50:1 · AAA

Where It Works

  • Use it for highlights, caution-adjacent labels, warm backgrounds, and attention markers.
  • Most yellows need dark text for readable interface copy.
  • Pair with charcoal, deep olive, warm neutrals, and controlled orange accents.

Reference Notes

Last Updated
2026-09-03
Source Library
CSS Standard Colors
Methodology
Verified source values + site guidance
Color Notes

Beige is sourced from the published CSS Standard Colors library and retained here as a searchable reference swatch for product and interface reference work.

Hue Family

Bright ambers and yellows that carry warmth.

Source Collections
CSS Named Colors

Related Colors

Palette Starting Points

Implementation Snippets

CSS Variables
:root {
  --color-beige: #F5F5DC;
  --color-beige-rgb: 245 245 220;
}
Utility Class
class="bg-[#F5F5DC] text-white"
class="hover:bg-[#B0B09E] ring-1 ring-[#F5F5DC]"
JSON Token
{
  "beige": "#F5F5DC",
  "beigeRgb": [245, 245, 220],
  "beigeHsl": [60, 56, 91]
}