#D2CF35#D2CF35

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

Color values

HEX#D2CF35
RGBrgb(210, 207, 53)
HSLhsl(59, 64%, 52%)
HSVhsv(59, 75%, 82%)
CMYKcmyk(0%, 1.4%, 74.8%, 17.6%)
CIE-LABlab(81.06, -16.00, 71.29)
CIE-LCHlch(81.06, 73.06, 102.65°)
OKLaboklab(83.13% -0.0518 0.1562)
OKLCHoklch(83.13% 0.165 108.3)
XYZxyz(49.5357, 58.5860, 12.0663)
Luminance0.5858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF35 #3538D2
analogous
#D28135 #D2CF35 #86D235
triadic
#D2CF35 #35D2CF #CF35D2
tetradic
#D2CF35 #35D281 #3538D2 #D23586
square
#D2CF35 #35D281 #3538D2 #D23586
split-complementary
#D2CF35 #3586D2 #8135D2
monochromatic
#73711A #A5A325 #D2CF35 #DDDB67 #E8E799

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2CF35#FFFFFF#000000##000000
##D2CF351.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)
#E0C70F
Deuteranopia (green-blind)
#E3CC42
Tritanopia (blue-blind)
#E1C1B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2cf35;
/* rgb */ color: rgb(210, 207, 53);
/* oklch */ color: oklch(83.1% 0.165 108.3);
Tailwind
colors: {
  custom: {
    50: '#e4dd78',
    500: '#d2cf35',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf35;
$custom-light: #e4dd78;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf35",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 53
  },
  "hsl": {
    "h": 58.854,
    "s": 63.563,
    "l": 51.569
  },
  "oklch": {
    "l": 0.83127,
    "c": 0.16451,
    "h": 108.3
  },
  "luminance": 0.58584
}

Semantic roles & 50–950 ramp

primary
#D2CF35
secondary
#30317C
accent
#44E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D2CF35

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

Preview Lab → · Contrast checker → · Palette generator →

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