#D2CF33#D2CF33

#D2CF33 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.1% C 0.166 H 108.4°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#D2CF33
RGBrgb(210, 207, 51)
HSLhsl(59, 64%, 51%)
HSVhsv(59, 76%, 82%)
CMYKcmyk(0%, 1.4%, 75.7%, 17.6%)
CIE-LABlab(81.05, -16.08, 71.90)
CIE-LCHlch(81.05, 73.68, 102.61°)
OKLaboklab(83.12% -0.0522 0.1571)
OKLCHoklch(83.12% 0.166 108.4)
XYZxyz(49.4906, 58.5679, 11.8291)
Luminance0.5857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF33 #3336D2
analogous
#D27F33 #D2CF33 #85D233
triadic
#D2CF33 #33D2CF #CF33D2
tetradic
#D2CF33 #33D27F #3336D2 #D23385
square
#D2CF33 #33D27F #3336D2 #D23385
split-complementary
#D2CF33 #3385D2 #7F33D2
monochromatic
#727019 #A4A124 #D2CF33 #DDDB65 #E8E797

Accessibility & contrast

On white

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

On black

12.71
#D2CF33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CF33
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CF33#FFFFFF#000000##000000
##D2CF331.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C608
Deuteranopia (green-blind)
#E3CC40
Tritanopia (blue-blind)
#E1C1B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2cf33;
/* rgb */ color: rgb(210, 207, 51);
/* oklch */ color: oklch(83.1% 0.166 108.4);
Tailwind
colors: {
  custom: {
    50: '#e4dd77',
    500: '#d2cf33',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf33;
$custom-light: #e4dd77;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf33",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 51
  },
  "hsl": {
    "h": 58.868,
    "s": 63.855,
    "l": 51.176
  },
  "oklch": {
    "l": 0.83115,
    "c": 0.16555,
    "h": 108.4
  },
  "luminance": 0.58566
}

Semantic roles & 50–950 ramp

primary
#D2CF33
secondary
#2F307A
accent
#44E741
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#16150A
muted
#85847D

Preview Lab

Preview with #D2CF33

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

Preview Lab → · Contrast checker → · Palette generator →

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