#D0C74A#D0C74A

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

Color values

HEX#D0C74A
RGBrgb(208, 199, 74)
HSLhsl(56, 59%, 55%)
HSVhsv(56, 64%, 82%)
CMYKcmyk(0%, 4.3%, 64.4%, 18.4%)
CIE-LABlab(78.90, -11.78, 61.40)
CIE-LCHlch(78.90, 62.52, 100.86°)
OKLaboklab(81.4% -0.0377 0.1389)
OKLCHoklch(81.4% 0.144 105.2)
XYZxyz(47.6736, 54.7529, 14.5344)
Luminance0.5475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C74A #4A53D0
analogous
#D0844A #D0C74A #96D04A
triadic
#D0C74A #4AD0C7 #C74AD0
tetradic
#D0C74A #4AD084 #4A53D0 #D04A96
square
#D0C74A #4AD084 #4A53D0 #D04A96
split-complementary
#D0C74A #4A96D0 #844AD0
monochromatic
#7F7821 #AFA72E #D0C74A #DDD67B #E9E5AB

Accessibility & contrast

On white

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

On black

11.95
#D0C74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C74A
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C74A#FFFFFF#000000##000000
##D0C74A1.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C03A
Deuteranopia (green-blind)
#DBC652
Tritanopia (blue-blind)
#DFBAAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d0c74a;
/* rgb */ color: rgb(208, 199, 74);
/* oklch */ color: oklch(81.4% 0.144 105.2);
Tailwind
colors: {
  custom: {
    50: '#e2d783',
    500: '#d0c74a',
    950: '#000000',
  },
}
SCSS
$custom: #d0c74a;
$custom-light: #e2d783;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c74a",
  "rgb": {
    "r": 208,
    "g": 199,
    "b": 74
  },
  "hsl": {
    "h": 55.97,
    "s": 58.772,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81404,
    "c": 0.14393,
    "h": 105.2
  },
  "luminance": 0.54751
}

Semantic roles & 50–950 ramp

primary
#D0C74A
secondary
#383D86
accent
#50E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0C74A

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

Preview Lab → · Contrast checker → · Palette generator →

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