#D0BC4F#D0BC4F

#D0BC4F is a light, vivid yellow. Relative luminance 0.499; OKLCH L 79.1% C 0.130 H 98.9°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#D0BC4F
RGBrgb(208, 188, 79)
HSLhsl(51, 58%, 56%)
HSVhsv(51, 62%, 82%)
CMYKcmyk(0%, 9.6%, 62%, 18.4%)
CIE-LABlab(76.03, -5.82, 56.21)
CIE-LCHlch(76.03, 56.51, 95.92°)
OKLaboklab(79.14% -0.0202 0.1286)
OKLCHoklch(79.14% 0.13 98.9)
XYZxyz(45.4088, 49.9428, 14.6437)
Luminance0.4994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0BC4F #4F63D0
analogous
#D07C4F #D0BC4F #A4D04F
triadic
#D0BC4F #4FD0BC #BC4FD0
tetradic
#D0BC4F #4FD07C #4F63D0 #D04FA4
square
#D0BC4F #4FD07C #4F63D0 #D04FA4
split-complementary
#D0BC4F #4FA4D0 #7C4FD0
monochromatic
#827323 #B29E30 #D0BC4F #DDCE7F #EAE1B0

Accessibility & contrast

On white

1.91
#D0BC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.99
#D0BC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0BC4F
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0BC4F#FFFFFF#000000##000000
##D0BC4F1.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB743
Deuteranopia (green-blind)
#D2BF55
Tritanopia (blue-blind)
#DFAFA5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d0bc4f;
/* rgb */ color: rgb(208, 188, 79);
/* oklch */ color: oklch(79.1% 0.130 98.9);
Tailwind
colors: {
  custom: {
    50: '#e1cf85',
    500: '#d0bc4f',
    950: '#000000',
  },
}
SCSS
$custom: #d0bc4f;
$custom-light: #e1cf85;
$custom-dark: #000000;
JSON
{
  "hex": "#d0bc4f",
  "rgb": {
    "r": 208,
    "g": 188,
    "b": 79
  },
  "hsl": {
    "h": 50.698,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79142,
    "c": 0.13021,
    "h": 98.9
  },
  "luminance": 0.49941
}

Semantic roles & 50–950 ramp

primary
#D0BC4F
secondary
#A3ABD8
accent
#5FE147
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D0BC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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