#D2CF34#D2CF34

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

Color values

HEX#D2CF34
RGBrgb(210, 207, 52)
HSLhsl(59, 64%, 51%)
HSVhsv(59, 75%, 82%)
CMYKcmyk(0%, 1.4%, 75.2%, 17.6%)
CIE-LABlab(81.06, -16.04, 71.60)
CIE-LCHlch(81.06, 73.37, 102.63°)
OKLaboklab(83.12% -0.052 0.1566)
OKLCHoklch(83.12% 0.165 108.4)
XYZxyz(49.5129, 58.5768, 11.9465)
Luminance0.5857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF34 #3437D2
analogous
#D28034 #D2CF34 #86D234
triadic
#D2CF34 #34D2CF #CF34D2
tetradic
#D2CF34 #34D280 #3437D2 #D23486
square
#D2CF34 #34D280 #3437D2 #D23486
split-complementary
#D2CF34 #3486D2 #8034D2
monochromatic
#727119 #A4A224 #D2CF34 #DDDB66 #E8E798

Accessibility & contrast

On white

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

On black

12.72
#D2CF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CF34
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CF34#FFFFFF#000000##000000
##D2CF341.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2cf34;
/* rgb */ color: rgb(210, 207, 52);
/* oklch */ color: oklch(83.1% 0.165 108.4);
Tailwind
colors: {
  custom: {
    50: '#e4dd78',
    500: '#d2cf34',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf34;
$custom-light: #e4dd78;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf34",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 52
  },
  "hsl": {
    "h": 58.861,
    "s": 63.71,
    "l": 51.373
  },
  "oklch": {
    "l": 0.83121,
    "c": 0.16503,
    "h": 108.4
  },
  "luminance": 0.58575
}

Semantic roles & 50–950 ramp

primary
#D2CF34
secondary
#2F317B
accent
#44E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D2CF34

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

Preview Lab → · Contrast checker → · Palette generator →

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