#D2CF3B#D2CF3B

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

Color values

HEX#D2CF3B
RGBrgb(210, 207, 59)
HSLhsl(59, 63%, 53%)
HSVhsv(59, 72%, 82%)
CMYKcmyk(0%, 1.4%, 71.9%, 17.6%)
CIE-LABlab(81.10, -15.75, 69.33)
CIE-LCHlch(81.10, 71.10, 102.80°)
OKLaboklab(83.16% -0.0505 0.1531)
OKLCHoklch(83.16% 0.161 108.3)
XYZxyz(49.6825, 58.6447, 12.8393)
Luminance0.5864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF3B #3B3ED2
analogous
#D2833B #D2CF3B #89D23B
triadic
#D2CF3B #3BD2CF #CF3BD2
tetradic
#D2CF3B #3BD283 #3B3ED2 #D23B89
square
#D2CF3B #3BD283 #3B3ED2 #D23B89
split-complementary
#D2CF3B #3B89D2 #833BD2
monochromatic
#77751B #A9A627 #D2CF3B #DDDB6D #E9E79F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2CF3B#FFFFFF#000000##000000
##D2CF3B1.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)
#E0C71F
Deuteranopia (green-blind)
#E2CC46
Tritanopia (blue-blind)
#E1C2B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2cf3b;
/* rgb */ color: rgb(210, 207, 59);
/* oklch */ color: oklch(83.2% 0.161 108.3);
Tailwind
colors: {
  custom: {
    50: '#e4dd7b',
    500: '#d2cf3b',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf3b;
$custom-light: #e4dd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf3b",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 59
  },
  "hsl": {
    "h": 58.808,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.83163,
    "c": 0.1612,
    "h": 108.3
  },
  "luminance": 0.58643
}

Semantic roles & 50–950 ramp

primary
#D2CF3B
secondary
#32337F
accent
#45E642
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D2CF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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