#D0CF40#D0CF40

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

Color values

HEX#D0CF40
RGBrgb(208, 207, 64)
HSLhsl(60, 61%, 53%)
HSVhsv(60, 69%, 82%)
CMYKcmyk(0%, 0.5%, 69.2%, 18.4%)
CIE-LABlab(80.96, -16.35, 67.38)
CIE-LCHlch(80.96, 69.33, 103.64°)
OKLaboklab(83.03% -0.0516 0.1499)
OKLCHoklch(83.03% 0.159 109)
XYZxyz(49.2524, 58.4072, 13.5288)
Luminance0.5841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CF40 #4041D0
analogous
#D08740 #D0CF40 #89D040
triadic
#D0CF40 #40D0CF #CF40D0
tetradic
#D0CF40 #40D087 #4041D0 #D04089
square
#D0CF40 #40D087 #4041D0 #D04089
split-complementary
#D0CF40 #4089D0 #8740D0
monochromatic
#78771E #A9A82A #D0CF40 #DCDB71 #E8E8A2

Accessibility & contrast

On white

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

On black

12.68
#D0CF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CF40
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CF40#FFFFFF#000000##000000
##D0CF401.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d0cf40;
/* rgb */ color: rgb(208, 207, 64);
/* oklch */ color: oklch(83.0% 0.159 109.0);
Tailwind
colors: {
  custom: {
    50: '#e2dd7e',
    500: '#d0cf40',
    950: '#000000',
  },
}
SCSS
$custom: #d0cf40;
$custom-light: #e2dd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cf40",
  "rgb": {
    "r": 208,
    "g": 207,
    "b": 64
  },
  "hsl": {
    "h": 59.583,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.83028,
    "c": 0.15854,
    "h": 109
  },
  "luminance": 0.58406
}

Semantic roles & 50–950 ramp

primary
#D0CF40
secondary
#343480
accent
#45E444
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #D0CF40

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

Preview Lab → · Contrast checker → · Palette generator →

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