#D1CF5B#D1CF5B

#D1CF5B is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.3% C 0.138 H 108.1°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#D1CF5B
RGBrgb(209, 207, 91)
HSLhsl(59, 56%, 59%)
HSVhsv(59, 56%, 82%)
CMYKcmyk(0%, 1%, 56.5%, 18%)
CIE-LABlab(81.26, -14.25, 56.69)
CIE-LCHlch(81.26, 58.45, 104.11°)
OKLaboklab(83.35% -0.043 0.1312)
OKLCHoklch(83.35% 0.138 108.1)
XYZxyz(50.4971, 58.9377, 18.6116)
Luminance0.5894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CF5B #5B5DD1
analogous
#D1945B #D1CF5B #98D15B
triadic
#D1CF5B #5BD1CF #CF5BD1
tetradic
#D1CF5B #5BD194 #5B5DD1 #D15B98
square
#D1CF5B #5BD194 #5B5DD1 #D15B98
split-complementary
#D1CF5B #5B98D1 #945BD1
monochromatic
#8B8927 #BAB834 #D1CF5B #DEDD8B #ECEBBB

Accessibility & contrast

On white

1.64
#D1CF5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#D1CF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CF5B
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CF5B#FFFFFF#000000##000000
##D1CF5B1.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74F
Deuteranopia (green-blind)
#E0CC61
Tritanopia (blue-blind)
#DEC3B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d1cf5b;
/* rgb */ color: rgb(209, 207, 91);
/* oklch */ color: oklch(83.3% 0.138 108.1);
Tailwind
colors: {
  custom: {
    50: '#e2dd8d',
    500: '#d1cf5b',
    950: '#000000',
  },
}
SCSS
$custom: #d1cf5b;
$custom-light: #e2dd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cf5b",
  "rgb": {
    "r": 209,
    "g": 207,
    "b": 91
  },
  "hsl": {
    "h": 58.983,
    "s": 56.19,
    "l": 58.824
  },
  "oklch": {
    "l": 0.83349,
    "c": 0.13803,
    "h": 108.1
  },
  "luminance": 0.58936
}

Semantic roles & 50–950 ramp

primary
#D1CF5B
secondary
#3F4191
accent
#4BDF48
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1CF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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