#D5CF47#D5CF47

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

Color values

HEX#D5CF47
RGBrgb(213, 207, 71)
HSLhsl(57, 63%, 56%)
HSVhsv(57, 67%, 84%)
CMYKcmyk(0%, 2.8%, 66.7%, 16.5%)
CIE-LABlab(81.42, -13.89, 65.33)
CIE-LCHlch(81.42, 66.79, 102.00°)
OKLaboklab(83.5% -0.0443 0.1466)
OKLCHoklch(83.5% 0.153 106.8)
XYZxyz(50.8926, 59.2284, 14.7114)
Luminance0.5923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CF47 #474DD5
analogous
#D58847 #D5CF47 #94D547
triadic
#D5CF47 #47D5CF #CF47D5
tetradic
#D5CF47 #47D588 #474DD5 #D54794
square
#D5CF47 #47D588 #474DD5 #D54794
split-complementary
#D5CF47 #4794D5 #8847D5
monochromatic
#847F1E #B5AF29 #D5CF47 #E0DC79 #ECE9AB

Accessibility & contrast

On white

1.63
#D5CF47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.85
#D5CF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CF47
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CF47#FFFFFF#000000##000000
##D5CF471.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C733
Deuteranopia (green-blind)
#E3CD50
Tritanopia (blue-blind)
#E4C2B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d5cf47;
/* rgb */ color: rgb(213, 207, 71);
/* oklch */ color: oklch(83.5% 0.153 106.8);
Tailwind
colors: {
  custom: {
    50: '#e5dd82',
    500: '#d5cf47',
    950: '#000000',
  },
}
SCSS
$custom: #d5cf47;
$custom-light: #e5dd82;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cf47",
  "rgb": {
    "r": 213,
    "g": 207,
    "b": 71
  },
  "hsl": {
    "h": 57.465,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.83503,
    "c": 0.15313,
    "h": 106.8
  },
  "luminance": 0.59227
}

Semantic roles & 50–950 ramp

primary
#D5CF47
secondary
#36398A
accent
#49E642
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5CF47

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

Preview Lab → · Contrast checker → · Palette generator →

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