#D1BE4F#D1BE4F

#D1BE4F is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.7% C 0.132 H 99.6°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#D1BE4F
RGBrgb(209, 190, 79)
HSLhsl(51, 59%, 56%)
HSVhsv(51, 62%, 82%)
CMYKcmyk(0%, 9.1%, 62.2%, 18%)
CIE-LABlab(76.65, -6.44, 56.90)
CIE-LCHlch(76.65, 57.27, 96.45°)
OKLaboklab(79.65% -0.022 0.1301)
OKLCHoklch(79.65% 0.132 99.6)
XYZxyz(46.1211, 50.9487, 14.8003)
Luminance0.5095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1BE4F #4F62D1
analogous
#D17D4F #D1BE4F #A3D14F
triadic
#D1BE4F #4FD1BE #BE4FD1
tetradic
#D1BE4F #4FD17D #4F62D1 #D14FA3
square
#D1BE4F #4FD17D #4F62D1 #D14FA3
split-complementary
#D1BE4F #4FA3D1 #7D4FD1
monochromatic
#837522 #B4A02F #D1BE4F #DED080 #EAE2B0

Accessibility & contrast

On white

1.88
#D1BE4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.19
#D1BE4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1BE4F
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1BE4F#FFFFFF#000000##000000
##D1BE4F1.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB942
Deuteranopia (green-blind)
#D4C055
Tritanopia (blue-blind)
#E0B1A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d1be4f;
/* rgb */ color: rgb(209, 190, 79);
/* oklch */ color: oklch(79.7% 0.132 99.6);
Tailwind
colors: {
  custom: {
    50: '#e2d185',
    500: '#d1be4f',
    950: '#000000',
  },
}
SCSS
$custom: #d1be4f;
$custom-light: #e2d185;
$custom-dark: #000000;
JSON
{
  "hex": "#d1be4f",
  "rgb": {
    "r": 209,
    "g": 190,
    "b": 79
  },
  "hsl": {
    "h": 51.231,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.7965,
    "c": 0.13192,
    "h": 99.6
  },
  "luminance": 0.50947
}

Semantic roles & 50–950 ramp

primary
#D1BE4F
secondary
#3A468A
accent
#5DE246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1BE4F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D1BE4F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva