#D5CF42#D5CF42

#D5CF42 is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.5% C 0.156 H 106.9°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#D5CF42
RGBrgb(213, 207, 66)
HSLhsl(58, 64%, 55%)
HSVhsv(58, 69%, 84%)
CMYKcmyk(0%, 2.8%, 69%, 16.5%)
CIE-LABlab(81.38, -14.15, 67.20)
CIE-LCHlch(81.38, 68.67, 101.89°)
OKLaboklab(83.47% -0.0455 0.1497)
OKLCHoklch(83.47% 0.156 106.9)
XYZxyz(50.7387, 59.1669, 13.9008)
Luminance0.5917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CF42 #4248D5
analogous
#D58642 #D5CF42 #92D542
triadic
#D5CF42 #42D5CF #CF42D5
tetradic
#D5CF42 #42D586 #4248D5 #D54292
square
#D5CF42 #42D586 #4248D5 #D54292
split-complementary
#D5CF42 #4292D5 #8642D5
monochromatic
#807C1C #B2AD28 #D5CF42 #E0DC74 #EBE8A6

Accessibility & contrast

On white

1.64
#D5CF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.83
#D5CF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CF42
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CF42#FFFFFF#000000##000000
##D5CF421.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C72C
Deuteranopia (green-blind)
#E3CD4C
Tritanopia (blue-blind)
#E4C2B3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d5cf42;
/* rgb */ color: rgb(213, 207, 66);
/* oklch */ color: oklch(83.5% 0.156 106.9);
Tailwind
colors: {
  custom: {
    50: '#e5dd7f',
    500: '#d5cf42',
    950: '#000000',
  },
}
SCSS
$custom: #d5cf42;
$custom-light: #e5dd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cf42",
  "rgb": {
    "r": 213,
    "g": 207,
    "b": 66
  },
  "hsl": {
    "h": 57.551,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.83465,
    "c": 0.15646,
    "h": 106.9
  },
  "luminance": 0.59165
}

Semantic roles & 50–950 ramp

primary
#D5CF42
secondary
#343787
accent
#48E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5CF42

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

Preview Lab → · Contrast checker → · Palette generator →

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