#D0CF51#D0CF51

#D0CF51 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.2% C 0.146 H 108.8°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#D0CF51
RGBrgb(208, 207, 81)
HSLhsl(60, 57%, 57%)
HSVhsv(60, 61%, 82%)
CMYKcmyk(0%, 0.5%, 61.1%, 18.4%)
CIE-LABlab(81.09, -15.36, 60.82)
CIE-LCHlch(81.09, 62.73, 104.18°)
OKLaboklab(83.17% -0.0471 0.1387)
OKLCHoklch(83.17% 0.146 108.8)
XYZxyz(49.8120, 58.6310, 16.4760)
Luminance0.5863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CF51 #5152D0
analogous
#D09051 #D0CF51 #91D051
triadic
#D0CF51 #51D0CF #CF51D0
tetradic
#D0CF51 #51D090 #5152D0 #D05191
square
#D0CF51 #51D090 #5152D0 #D05191
split-complementary
#D0CF51 #5191D0 #9051D0
monochromatic
#838223 #B3B230 #D0CF51 #DDDC81 #EAEAB1

Accessibility & contrast

On white

1.65
#D0CF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#D0CF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CF51
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CF51#FFFFFF#000000##000000
##D0CF511.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC742
Deuteranopia (green-blind)
#E1CB59
Tritanopia (blue-blind)
#DEC3B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d0cf51;
/* rgb */ color: rgb(208, 207, 81);
/* oklch */ color: oklch(83.2% 0.146 108.8);
Tailwind
colors: {
  custom: {
    50: '#e1dd87',
    500: '#d0cf51',
    950: '#000000',
  },
}
SCSS
$custom: #d0cf51;
$custom-light: #e1dd87;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cf51",
  "rgb": {
    "r": 208,
    "g": 207,
    "b": 81
  },
  "hsl": {
    "h": 59.528,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.83167,
    "c": 0.14647,
    "h": 108.8
  },
  "luminance": 0.5863
}

Semantic roles & 50–950 ramp

primary
#D0CF51
secondary
#3B3C8A
accent
#48E147
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D0CF51

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

Preview Lab → · Contrast checker → · Palette generator →

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