#D0C74F#D0C74F

#D0C74F is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.4% C 0.140 H 105.0°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#D0C74F
RGBrgb(208, 199, 79)
HSLhsl(56, 58%, 56%)
HSVhsv(56, 62%, 82%)
CMYKcmyk(0%, 4.3%, 62%, 18.4%)
CIE-LABlab(78.94, -11.47, 59.36)
CIE-LCHlch(78.94, 60.45, 100.93°)
OKLaboklab(81.45% -0.0363 0.1353)
OKLCHoklch(81.45% 0.14 105)
XYZxyz(47.8488, 54.8229, 15.4570)
Luminance0.5482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C74F #4F58D0
analogous
#D0874F #D0C74F #99D04F
triadic
#D0C74F #4FD0C7 #C74FD0
tetradic
#D0C74F #4FD087 #4F58D0 #D04F99
square
#D0C74F #4FD087 #4F58D0 #D04F99
split-complementary
#D0C74F #4F99D0 #874FD0
monochromatic
#827B23 #B2A930 #D0C74F #DDD67F #EAE6B0

Accessibility & contrast

On white

1.76
#D0C74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#D0C74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C74F
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C74F#FFFFFF#000000##000000
##D0C74F1.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C041
Deuteranopia (green-blind)
#DBC656
Tritanopia (blue-blind)
#DEBAAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d0c74f;
/* rgb */ color: rgb(208, 199, 79);
/* oklch */ color: oklch(81.4% 0.140 105.0);
Tailwind
colors: {
  custom: {
    50: '#e1d785',
    500: '#d0c74f',
    950: '#000000',
  },
}
SCSS
$custom: #d0c74f;
$custom-light: #e1d785;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c74f",
  "rgb": {
    "r": 208,
    "g": 199,
    "b": 79
  },
  "hsl": {
    "h": 55.814,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81449,
    "c": 0.14008,
    "h": 105
  },
  "luminance": 0.54821
}

Semantic roles & 50–950 ramp

primary
#D0C74F
secondary
#3A4089
accent
#51E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0C74F

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

Preview Lab → · Contrast checker → · Palette generator →

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