#D0C754#D0C754

#D0C754 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.5% C 0.136 H 104.8°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#D0C754
RGBrgb(208, 199, 84)
HSLhsl(56, 57%, 57%)
HSVhsv(56, 60%, 82%)
CMYKcmyk(0%, 4.3%, 59.6%, 18.4%)
CIE-LABlab(78.98, -11.13, 57.24)
CIE-LCHlch(78.98, 58.31, 101.01°)
OKLaboklab(81.5% -0.0348 0.1315)
OKLCHoklch(81.5% 0.136 104.8)
XYZxyz(48.0377, 54.8985, 16.4518)
Luminance0.5490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C754 #545DD0
analogous
#D08954 #D0C754 #9BD054
triadic
#D0C754 #54D0C7 #C754D0
tetradic
#D0C754 #54D089 #545DD0 #D0549B
square
#D0C754 #54D089 #545DD0 #D0549B
split-complementary
#D0C754 #549BD0 #8954D0
monochromatic
#857E25 #B5AC32 #D0C754 #DDD784 #EAE6B4

Accessibility & contrast

On white

1.75
#D0C754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.98
#D0C754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C754
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C754#FFFFFF#000000##000000
##D0C7541.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C047
Deuteranopia (green-blind)
#DAC65A
Tritanopia (blue-blind)
#DEBBAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d0c754;
/* rgb */ color: rgb(208, 199, 84);
/* oklch */ color: oklch(81.5% 0.136 104.8);
Tailwind
colors: {
  custom: {
    50: '#e1d788',
    500: '#d0c754',
    950: '#000000',
  },
}
SCSS
$custom: #d0c754;
$custom-light: #e1d788;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c754",
  "rgb": {
    "r": 208,
    "g": 199,
    "b": 84
  },
  "hsl": {
    "h": 55.645,
    "s": 56.881,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81498,
    "c": 0.13602,
    "h": 104.8
  },
  "luminance": 0.54897
}

Semantic roles & 50–950 ramp

primary
#D0C754
secondary
#3C428C
accent
#53E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D0C754

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

Preview Lab → · Contrast checker → · Palette generator →

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