#D0C94E#D0C94E

#D0C94E is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.9% C 0.143 H 106.0°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#D0C94E
RGBrgb(208, 201, 78)
HSLhsl(57, 58%, 56%)
HSVhsv(57, 63%, 82%)
CMYKcmyk(0%, 3.4%, 62.5%, 18.4%)
CIE-LABlab(79.46, -12.54, 60.34)
CIE-LCHlch(79.46, 61.63, 101.74°)
OKLaboklab(81.86% -0.0395 0.1372)
OKLCHoklch(81.86% 0.143 106)
XYZxyz(48.2759, 55.7349, 15.4212)
Luminance0.5573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C94E #4E55D0
analogous
#D0884E #D0C94E #96D04E
triadic
#D0C94E #4ED0C9 #C94ED0
tetradic
#D0C94E #4ED088 #4E55D0 #D04E96
square
#D0C94E #4ED088 #4E55D0 #D04E96
split-complementary
#D0C94E #4E96D0 #884ED0
monochromatic
#817C22 #B2AB2F #D0C94E #DDD87E #EAE7AF

Accessibility & contrast

On white

1.73
#D0C94E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#D0C94E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C94E
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C94E#FFFFFF#000000##000000
##D0C94E1.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C23F
Deuteranopia (green-blind)
#DCC755
Tritanopia (blue-blind)
#DEBCAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d0c94e;
/* rgb */ color: rgb(208, 201, 78);
/* oklch */ color: oklch(81.9% 0.143 106.0);
Tailwind
colors: {
  custom: {
    50: '#e1d985',
    500: '#d0c94e',
    950: '#000000',
  },
}
SCSS
$custom: #d0c94e;
$custom-light: #e1d985;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c94e",
  "rgb": {
    "r": 208,
    "g": 201,
    "b": 78
  },
  "hsl": {
    "h": 56.769,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81863,
    "c": 0.1428,
    "h": 106
  },
  "luminance": 0.55733
}

Semantic roles & 50–950 ramp

primary
#D0C94E
secondary
#3A3E89
accent
#4FE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0C94E

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

Preview Lab → · Contrast checker → · Palette generator →

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