#D0CC4F#D0CC4F

#D0CC4F is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.5% C 0.145 H 107.4°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#D0CC4F
RGBrgb(208, 204, 79)
HSLhsl(58, 58%, 56%)
HSVhsv(58, 62%, 82%)
CMYKcmyk(0%, 1.9%, 62%, 18.4%)
CIE-LABlab(80.27, -13.99, 60.78)
CIE-LCHlch(80.27, 62.37, 102.96°)
OKLaboklab(82.51% -0.0435 0.1383)
OKLCHoklch(82.51% 0.145 107.4)
XYZxyz(49.0182, 57.1617, 15.8468)
Luminance0.5716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CC4F #4F53D0
analogous
#D08C4F #D0CC4F #94D04F
triadic
#D0CC4F #4FD0CC #CC4FD0
tetradic
#D0CC4F #4FD08C #4F53D0 #D04F94
square
#D0CC4F #4FD08C #4F53D0 #D04F94
split-complementary
#D0CC4F #4F94D0 #8C4FD0
monochromatic
#827F23 #B2AE30 #D0CC4F #DDDA7F #EAE8B0

Accessibility & contrast

On white

1.69
#D0CC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#D0CC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CC4F
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CC4F#FFFFFF#000000##000000
##D0CC4F1.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC440
Deuteranopia (green-blind)
#DEC957
Tritanopia (blue-blind)
#DEC0B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d0cc4f;
/* rgb */ color: rgb(208, 204, 79);
/* oklch */ color: oklch(82.5% 0.145 107.4);
Tailwind
colors: {
  custom: {
    50: '#e1db86',
    500: '#d0cc4f',
    950: '#000000',
  },
}
SCSS
$custom: #d0cc4f;
$custom-light: #e1db86;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cc4f",
  "rgb": {
    "r": 208,
    "g": 204,
    "b": 79
  },
  "hsl": {
    "h": 58.14,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82509,
    "c": 0.14499,
    "h": 107.4
  },
  "luminance": 0.5716
}

Semantic roles & 50–950 ramp

primary
#D0CC4F
secondary
#3A3D89
accent
#4CE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0CC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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