#D5CF49#D5CF49

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

Color values

HEX#D5CF49
RGBrgb(213, 207, 73)
HSLhsl(57, 63%, 56%)
HSVhsv(57, 66%, 84%)
CMYKcmyk(0%, 2.8%, 65.7%, 16.5%)
CIE-LABlab(81.43, -13.77, 64.56)
CIE-LCHlch(81.43, 66.02, 102.04°)
OKLaboklab(83.52% -0.0438 0.1453)
OKLCHoklch(83.52% 0.152 106.8)
XYZxyz(50.9578, 59.2545, 15.0551)
Luminance0.5925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CF49 #494FD5
analogous
#D58949 #D5CF49 #95D549
triadic
#D5CF49 #49D5CF #CF49D5
tetradic
#D5CF49 #49D589 #494FD5 #D54995
square
#D5CF49 #49D589 #494FD5 #D54995
split-complementary
#D5CF49 #4995D5 #8949D5
monochromatic
#85811F #B7B12A #D5CF49 #E0DC7B #ECE9AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5CF49#FFFFFF#000000##000000
##D5CF491.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)
#E0C736
Deuteranopia (green-blind)
#E3CD52
Tritanopia (blue-blind)
#E4C2B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d5cf49;
/* rgb */ color: rgb(213, 207, 73);
/* oklch */ color: oklch(83.5% 0.152 106.8);
Tailwind
colors: {
  custom: {
    50: '#e5dd83',
    500: '#d5cf49',
    950: '#000000',
  },
}
SCSS
$custom: #d5cf49;
$custom-light: #e5dd83;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cf49",
  "rgb": {
    "r": 213,
    "g": 207,
    "b": 73
  },
  "hsl": {
    "h": 57.429,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.83519,
    "c": 0.15172,
    "h": 106.8
  },
  "luminance": 0.59253
}

Semantic roles & 50–950 ramp

primary
#D5CF49
secondary
#373A8C
accent
#49E642
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5CF49

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

Preview Lab → · Contrast checker → · Palette generator →

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