#D0CF52#D0CF52

#D0CF52 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#D0CF52
RGBrgb(208, 207, 82)
HSLhsl(60, 57%, 57%)
HSVhsv(60, 61%, 82%)
CMYKcmyk(0%, 0.5%, 60.6%, 18.4%)
CIE-LABlab(81.10, -15.30, 60.40)
CIE-LCHlch(81.10, 62.31, 104.21°)
OKLaboklab(83.18% -0.0468 0.1379)
OKLCHoklch(83.18% 0.146 108.8)
XYZxyz(49.8498, 58.6461, 16.6749)
Luminance0.5865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CF52 #5253D0
analogous
#D09052 #D0CF52 #92D052
triadic
#D0CF52 #52D0CF #CF52D0
tetradic
#D0CF52 #52D090 #5253D0 #D05292
square
#D0CF52 #52D090 #5253D0 #D05292
split-complementary
#D0CF52 #5292D0 #9052D0
monochromatic
#848324 #B4B331 #D0CF52 #DDDC82 #EAEAB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D0CF52#FFFFFF#000000##000000
##D0CF521.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)
#DFC743
Deuteranopia (green-blind)
#E1CB5A
Tritanopia (blue-blind)
#DEC3B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d0cf52;
/* rgb */ color: rgb(208, 207, 82);
/* oklch */ color: oklch(83.2% 0.146 108.8);
Tailwind
colors: {
  custom: {
    50: '#e1dd88',
    500: '#d0cf52',
    950: '#000000',
  },
}
SCSS
$custom: #d0cf52;
$custom-light: #e1dd88;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cf52",
  "rgb": {
    "r": 208,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 59.524,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.83176,
    "c": 0.14568,
    "h": 108.8
  },
  "luminance": 0.58645
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D0CF52

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

Preview Lab → · Contrast checker → · Palette generator →

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