#D0B951#D0B951

#D0B951 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.5% C 0.126 H 96.9°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#D0B951
RGBrgb(208, 185, 81)
HSLhsl(49, 57%, 57%)
HSVhsv(49, 61%, 82%)
CMYKcmyk(0%, 11.1%, 61.1%, 18.4%)
CIE-LABlab(75.27, -4.13, 54.47)
CIE-LCHlch(75.27, 54.63, 94.34°)
OKLaboklab(78.54% -0.0151 0.1252)
OKLCHoklch(78.54% 0.126 96.9)
XYZxyz(44.8485, 48.7040, 14.8215)
Luminance0.4870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B951 #5168D0
analogous
#D07A51 #D0B951 #A8D051
triadic
#D0B951 #51D0B9 #B951D0
tetradic
#D0B951 #51D07A #5168D0 #D051A8
square
#D0B951 #51D07A #5168D0 #D051A8
split-complementary
#D0B951 #51A8D0 #7A51D0
monochromatic
#837223 #B39C30 #D0B951 #DDCC81 #EAE0B1

Accessibility & contrast

On white

1.96
#D0B951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#D0B951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B951
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B951#FFFFFF#000000##000000
##D0B9511.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB546
Deuteranopia (green-blind)
#D0BD56
Tritanopia (blue-blind)
#DFACA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d0b951;
/* rgb */ color: rgb(208, 185, 81);
/* oklch */ color: oklch(78.5% 0.126 96.9);
Tailwind
colors: {
  custom: {
    50: '#e1cd86',
    500: '#d0b951',
    950: '#000000',
  },
}
SCSS
$custom: #d0b951;
$custom-light: #e1cd86;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b951",
  "rgb": {
    "r": 208,
    "g": 185,
    "b": 81
  },
  "hsl": {
    "h": 49.134,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.7854,
    "c": 0.12611,
    "h": 96.9
  },
  "luminance": 0.48702
}

Semantic roles & 50–950 ramp

primary
#D0B951
secondary
#A4AED8
accent
#63E147
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D0B951

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

Preview Lab → · Contrast checker → · Palette generator →

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