#D5CF4A#D5CF4A

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

Color values

HEX#D5CF4A
RGBrgb(213, 207, 74)
HSLhsl(57, 62%, 56%)
HSVhsv(57, 65%, 84%)
CMYKcmyk(0%, 2.8%, 65.3%, 16.5%)
CIE-LABlab(81.44, -13.72, 64.18)
CIE-LCHlch(81.44, 65.63, 102.06°)
OKLaboklab(83.53% -0.0435 0.1446)
OKLCHoklch(83.53% 0.151 106.7)
XYZxyz(50.9913, 59.2679, 15.2311)
Luminance0.5927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CF4A #4A50D5
analogous
#D58A4A #D5CF4A #96D54A
triadic
#D5CF4A #4AD5CF #CF4AD5
tetradic
#D5CF4A #4AD58A #4A50D5 #D54A96
square
#D5CF4A #4AD58A #4A50D5 #D54A96
split-complementary
#D5CF4A #4A96D5 #8A4AD5
monochromatic
#86811F #B7B12B #D5CF4A #E1DC7C #ECE9AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #d5cf4a;
/* rgb */ color: rgb(213, 207, 74);
/* oklch */ color: oklch(83.5% 0.151 106.7);
Tailwind
colors: {
  custom: {
    50: '#e5dd83',
    500: '#d5cf4a',
    950: '#000000',
  },
}
SCSS
$custom: #d5cf4a;
$custom-light: #e5dd83;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cf4a",
  "rgb": {
    "r": 213,
    "g": 207,
    "b": 74
  },
  "hsl": {
    "h": 57.41,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.83527,
    "c": 0.15101,
    "h": 106.7
  },
  "luminance": 0.59266
}

Semantic roles & 50–950 ramp

primary
#D5CF4A
secondary
#373B8C
accent
#49E542
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5CF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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