#D9CF5A#D9CF5A

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

Color values

HEX#D9CF5A
RGBrgb(217, 207, 90)
HSLhsl(55, 63%, 60%)
HSVhsv(55, 59%, 85%)
CMYKcmyk(0%, 4.6%, 58.5%, 14.9%)
CIE-LABlab(81.90, -11.03, 58.03)
CIE-LCHlch(81.90, 59.07, 100.76°)
OKLaboklab(84.02% -0.0344 0.1338)
OKLCHoklch(84.02% 0.138 104.4)
XYZxyz(52.7753, 60.1174, 18.4947)
Luminance0.6012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CF5A #5A64D9
analogous
#D9905A #D9CF5A #A3D95A
triadic
#D9CF5A #5AD9CF #CF5AD9
tetradic
#D9CF5A #5AD990 #5A64D9 #D95AA3
square
#D9CF5A #5AD990 #5A64D9 #D95AA3
split-complementary
#D9CF5A #5AA3D9 #905AD9
monochromatic
#968D23 #C8BC2E #D9CF5A #E4DD8C #F0ECBD

Accessibility & contrast

On white

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

On black

13.02
#D9CF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CF5A
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CF5A#FFFFFF#000000##000000
##D9CF5A1.001.6113.0213.02
#FFFFFF1.611.0021.0021.00
#00000013.0221.001.001.00
##00000013.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9cf5a;
/* rgb */ color: rgb(217, 207, 90);
/* oklch */ color: oklch(84.0% 0.138 104.4);
Tailwind
colors: {
  custom: {
    50: '#e7dd8d',
    500: '#d9cf5a',
    950: '#000000',
  },
}
SCSS
$custom: #d9cf5a;
$custom-light: #e7dd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cf5a",
  "rgb": {
    "r": 217,
    "g": 207,
    "b": 90
  },
  "hsl": {
    "h": 55.276,
    "s": 62.562,
    "l": 60.196
  },
  "oklch": {
    "l": 0.84018,
    "c": 0.1381,
    "h": 104.4
  },
  "luminance": 0.60116
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9CF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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