#D2CF41#D2CF41

#D2CF41 is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.2% C 0.158 H 108.2°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#D2CF41
RGBrgb(210, 207, 65)
HSLhsl(59, 62%, 54%)
HSVhsv(59, 69%, 82%)
CMYKcmyk(0%, 1.4%, 69%, 17.6%)
CIE-LABlab(81.13, -15.46, 67.23)
CIE-LCHlch(81.13, 68.99, 102.95°)
OKLaboklab(83.2% -0.0492 0.1497)
OKLCHoklch(83.2% 0.158 108.2)
XYZxyz(49.8471, 58.7105, 13.7065)
Luminance0.5871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF41 #4144D2
analogous
#D28741 #D2CF41 #8DD241
triadic
#D2CF41 #41D2CF #CF41D2
tetradic
#D2CF41 #41D287 #4144D2 #D2418D
square
#D2CF41 #41D287 #4144D2 #D2418D
split-complementary
#D2CF41 #418DD2 #8741D2
monochromatic
#7B791D #ADAA29 #D2CF41 #DEDC72 #E9E8A4

Accessibility & contrast

On white

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

On black

12.74
#D2CF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CF41
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CF41#FFFFFF#000000##000000
##D2CF411.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C72A
Deuteranopia (green-blind)
#E2CC4B
Tritanopia (blue-blind)
#E1C2B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2cf41;
/* rgb */ color: rgb(210, 207, 65);
/* oklch */ color: oklch(83.2% 0.158 108.2);
Tailwind
colors: {
  custom: {
    50: '#e3dd7e',
    500: '#d2cf41',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf41;
$custom-light: #e3dd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf41",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 65
  },
  "hsl": {
    "h": 58.759,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.83203,
    "c": 0.15756,
    "h": 108.2
  },
  "luminance": 0.58709
}

Semantic roles & 50–950 ramp

primary
#D2CF41
secondary
#343683
accent
#46E543
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2CF41

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

Preview Lab → · Contrast checker → · Palette generator →

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