#D5CF4B#D5CF4B

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

Color values

HEX#D5CF4B
RGBrgb(213, 207, 75)
HSLhsl(57, 62%, 56%)
HSVhsv(57, 65%, 84%)
CMYKcmyk(0%, 2.8%, 64.8%, 16.5%)
CIE-LABlab(81.45, -13.66, 63.78)
CIE-LCHlch(81.45, 65.23, 102.09°)
OKLaboklab(83.54% -0.0432 0.1439)
OKLCHoklch(83.54% 0.15 106.7)
XYZxyz(51.0252, 59.2815, 15.4099)
Luminance0.5928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CF4B #4B51D5
analogous
#D58A4B #D5CF4B #96D54B
triadic
#D5CF4B #4BD5CF #CF4BD5
tetradic
#D5CF4B #4BD58A #4B51D5 #D54B96
square
#D5CF4B #4BD58A #4B51D5 #D54B96
split-complementary
#D5CF4B #4B96D5 #8A4BD5
monochromatic
#86821F #B8B22B #D5CF4B #E1DC7D #ECE9AE

Accessibility & contrast

On white

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

On black

12.86
#D5CF4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CF4B
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CF4B#FFFFFF#000000##000000
##D5CF4B1.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5cf4b;
/* rgb */ color: rgb(213, 207, 75);
/* oklch */ color: oklch(83.5% 0.150 106.7);
Tailwind
colors: {
  custom: {
    50: '#e5dd84',
    500: '#d5cf4b',
    950: '#000000',
  },
}
SCSS
$custom: #d5cf4b;
$custom-light: #e5dd84;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cf4b",
  "rgb": {
    "r": 213,
    "g": 207,
    "b": 75
  },
  "hsl": {
    "h": 57.391,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.83535,
    "c": 0.15029,
    "h": 106.7
  },
  "luminance": 0.5928
}

Semantic roles & 50–950 ramp

primary
#D5CF4B
secondary
#373B8D
accent
#4AE543
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5CF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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