#D9CF5B#D9CF5B

#D9CF5B is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 84.0% C 0.137 H 104.4°. Best body text is #000000 at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#D9CF5B
RGBrgb(217, 207, 91)
HSLhsl(55, 62%, 60%)
HSVhsv(55, 58%, 85%)
CMYKcmyk(0%, 4.6%, 58.1%, 14.9%)
CIE-LABlab(81.91, -10.96, 57.60)
CIE-LCHlch(81.91, 58.63, 100.77°)
OKLaboklab(84.03% -0.0341 0.133)
OKLCHoklch(84.03% 0.137 104.4)
XYZxyz(52.8182, 60.1345, 18.7204)
Luminance0.6013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CF5B #5B65D9
analogous
#D9905B #D9CF5B #A4D95B
triadic
#D9CF5B #5BD9CF #CF5BD9
tetradic
#D9CF5B #5BD990 #5B65D9 #D95BA4
square
#D9CF5B #5BD990 #5B65D9 #D95BA4
split-complementary
#D9CF5B #5BA4D9 #905BD9
monochromatic
#978D23 #C8BC2E #D9CF5B #E5DE8D #F0ECBE

Accessibility & contrast

On white

1.61
#D9CF5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.03
#D9CF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CF5B
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CF5B#FFFFFF#000000##000000
##D9CF5B1.001.6113.0313.03
#FFFFFF1.611.0021.0021.00
#00000013.0321.001.001.00
##00000013.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84F
Deuteranopia (green-blind)
#E3CE61
Tritanopia (blue-blind)
#E8C2B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d9cf5b;
/* rgb */ color: rgb(217, 207, 91);
/* oklch */ color: oklch(84.0% 0.137 104.4);
Tailwind
colors: {
  custom: {
    50: '#e7dd8d',
    500: '#d9cf5b',
    950: '#000000',
  },
}
SCSS
$custom: #d9cf5b;
$custom-light: #e7dd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cf5b",
  "rgb": {
    "r": 217,
    "g": 207,
    "b": 91
  },
  "hsl": {
    "h": 55.238,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.84028,
    "c": 0.13725,
    "h": 104.4
  },
  "luminance": 0.60133
}

Semantic roles & 50–950 ramp

primary
#D9CF5B
secondary
#3D449B
accent
#29CA1B
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9CF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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