#D0B954#D0B954

#D0B954 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.6% C 0.124 H 96.6°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#D0B954
RGBrgb(208, 185, 84)
HSLhsl(49, 57%, 57%)
HSVhsv(49, 60%, 82%)
CMYKcmyk(0%, 11.1%, 59.6%, 18.4%)
CIE-LABlab(75.30, -3.92, 53.14)
CIE-LCHlch(75.30, 53.29, 94.22°)
OKLaboklab(78.57% -0.0142 0.1228)
OKLCHoklch(78.57% 0.124 96.6)
XYZxyz(44.9635, 48.7500, 15.4271)
Luminance0.4875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B954 #546BD0
analogous
#D07B54 #D0B954 #A9D054
triadic
#D0B954 #54D0B9 #B954D0
tetradic
#D0B954 #54D07B #546BD0 #D054A9
square
#D0B954 #54D07B #546BD0 #D054A9
split-complementary
#D0B954 #54A9D0 #7B54D0
monochromatic
#857325 #B59D32 #D0B954 #DDCD84 #EAE0B4

Accessibility & contrast

On white

1.95
#D0B954 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.75
#D0B954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B954
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B954#FFFFFF#000000##000000
##D0B9541.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB549
Deuteranopia (green-blind)
#D0BD59
Tritanopia (blue-blind)
#DFADA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d0b954;
/* rgb */ color: rgb(208, 185, 84);
/* oklch */ color: oklch(78.6% 0.124 96.6);
Tailwind
colors: {
  custom: {
    50: '#e1cd88',
    500: '#d0b954',
    950: '#000000',
  },
}
SCSS
$custom: #d0b954;
$custom-light: #e1cd88;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b954",
  "rgb": {
    "r": 208,
    "g": 185,
    "b": 84
  },
  "hsl": {
    "h": 48.871,
    "s": 56.881,
    "l": 57.255
  },
  "oklch": {
    "l": 0.78572,
    "c": 0.12356,
    "h": 96.6
  },
  "luminance": 0.48748
}

Semantic roles & 50–950 ramp

primary
#D0B954
secondary
#A7B0D9
accent
#64E048
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D0B954

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

Preview Lab → · Contrast checker → · Palette generator →

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