#D0C251#D0C251

#D0C251 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.4% C 0.134 H 102.3°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#D0C251
RGBrgb(208, 194, 81)
HSLhsl(53, 57%, 57%)
HSVhsv(53, 61%, 82%)
CMYKcmyk(0%, 6.7%, 61.1%, 18.4%)
CIE-LABlab(77.63, -8.78, 57.08)
CIE-LCHlch(77.63, 57.75, 98.75°)
OKLaboklab(80.42% -0.0284 0.1307)
OKLCHoklch(80.42% 0.134 102.3)
XYZxyz(46.7912, 52.5894, 15.4690)
Luminance0.5259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C251 #515FD0
analogous
#D08351 #D0C251 #9FD051
triadic
#D0C251 #51D0C2 #C251D0
tetradic
#D0C251 #51D083 #515FD0 #D0519F
square
#D0C251 #51D083 #515FD0 #D0519F
split-complementary
#D0C251 #519FD0 #8351D0
monochromatic
#837923 #B3A530 #D0C251 #DDD381 #EAE4B1

Accessibility & contrast

On white

1.82
#D0C251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#D0C251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C251
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C251#FFFFFF#000000##000000
##D0C2511.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC44
Deuteranopia (green-blind)
#D7C357
Tritanopia (blue-blind)
#DFB5AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d0c251;
/* rgb */ color: rgb(208, 194, 81);
/* oklch */ color: oklch(80.4% 0.134 102.3);
Tailwind
colors: {
  custom: {
    50: '#e1d486',
    500: '#d0c251',
    950: '#000000',
  },
}
SCSS
$custom: #d0c251;
$custom-light: #e1d486;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c251",
  "rgb": {
    "r": 208,
    "g": 194,
    "b": 81
  },
  "hsl": {
    "h": 53.386,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.80416,
    "c": 0.1338,
    "h": 102.3
  },
  "luminance": 0.52588
}

Semantic roles & 50–950 ramp

primary
#D0C251
secondary
#3B448A
accent
#58E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0C251

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

Preview Lab → · Contrast checker → · Palette generator →

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