#D0CF42#D0CF42

#D0CF42 is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.0% C 0.157 H 109.0°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#D0CF42
RGBrgb(208, 207, 66)
HSLhsl(60, 60%, 54%)
HSVhsv(60, 68%, 82%)
CMYKcmyk(0%, 0.5%, 68.3%, 18.4%)
CIE-LABlab(80.98, -16.24, 66.66)
CIE-LCHlch(80.98, 68.61, 103.70°)
OKLaboklab(83.04% -0.0511 0.1487)
OKLCHoklch(83.04% 0.157 109)
XYZxyz(49.3103, 58.4304, 13.8339)
Luminance0.5843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CF42 #4243D0
analogous
#D08842 #D0CF42 #8AD042
triadic
#D0CF42 #42D0CF #CF42D0
tetradic
#D0CF42 #42D088 #4243D0 #D0428A
square
#D0CF42 #42D088 #4243D0 #D0428A
split-complementary
#D0CF42 #428AD0 #8842D0
monochromatic
#79791E #AAAA2A #D0CF42 #DCDB73 #E8E8A4

Accessibility & contrast

On white

1.66
#D0CF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.69
#D0CF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CF42
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CF42#FFFFFF#000000##000000
##D0CF421.001.6612.6912.69
#FFFFFF1.661.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C72C
Deuteranopia (green-blind)
#E1CB4C
Tritanopia (blue-blind)
#DFC2B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d0cf42;
/* rgb */ color: rgb(208, 207, 66);
/* oklch */ color: oklch(83.0% 0.157 109.0);
Tailwind
colors: {
  custom: {
    50: '#e2dd7f',
    500: '#d0cf42',
    950: '#000000',
  },
}
SCSS
$custom: #d0cf42;
$custom-light: #e2dd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cf42",
  "rgb": {
    "r": 208,
    "g": 207,
    "b": 66
  },
  "hsl": {
    "h": 59.577,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.83043,
    "c": 0.15725,
    "h": 109
  },
  "luminance": 0.58429
}

Semantic roles & 50–950 ramp

primary
#D0CF42
secondary
#353581
accent
#46E344
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D0CF42

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

Preview Lab → · Contrast checker → · Palette generator →

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