#D9CF5E#D9CF5E

#D9CF5E is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 84.1% C 0.135 H 104.2°. Best body text is #000000 at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#D9CF5E
RGBrgb(217, 207, 94)
HSLhsl(55, 62%, 61%)
HSVhsv(55, 57%, 85%)
CMYKcmyk(0%, 4.6%, 56.7%, 14.9%)
CIE-LABlab(81.94, -10.74, 56.29)
CIE-LCHlch(81.94, 57.31, 100.80°)
OKLaboklab(84.06% -0.0331 0.1305)
OKLCHoklch(84.06% 0.135 104.2)
XYZxyz(52.9502, 60.1873, 19.4156)
Luminance0.6019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CF5E #5E68D9
analogous
#D9915E #D9CF5E #A5D95E
triadic
#D9CF5E #5ED9CF #CF5ED9
tetradic
#D9CF5E #5ED991 #5E68D9 #D95EA5
square
#D9CF5E #5ED991 #5E68D9 #D95EA5
split-complementary
#D9CF5E #5EA5D9 #915ED9
monochromatic
#998F24 #CABE30 #D9CF5E #E5DE90 #F0EDC1

Accessibility & contrast

On white

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

On black

13.04
#D9CF5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CF5E
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CF5E#FFFFFF#000000##000000
##D9CF5E1.001.6113.0413.04
#FFFFFF1.611.0021.0021.00
#00000013.0421.001.001.00
##00000013.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC952
Deuteranopia (green-blind)
#E3CE64
Tritanopia (blue-blind)
#E8C3B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d9cf5e;
/* rgb */ color: rgb(217, 207, 94);
/* oklch */ color: oklch(84.1% 0.135 104.2);
Tailwind
colors: {
  custom: {
    50: '#e7dd8f',
    500: '#d9cf5e',
    950: '#000000',
  },
}
SCSS
$custom: #d9cf5e;
$custom-light: #e7dd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cf5e",
  "rgb": {
    "r": 217,
    "g": 207,
    "b": 94
  },
  "hsl": {
    "h": 55.122,
    "s": 61.809,
    "l": 60.98
  },
  "oklch": {
    "l": 0.8406,
    "c": 0.13464,
    "h": 104.2
  },
  "luminance": 0.60186
}

Semantic roles & 50–950 ramp

primary
#D9CF5E
secondary
#3E469D
accent
#2ACA1C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D9CF5E

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

Preview Lab → · Contrast checker → · Palette generator →

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