#D5CF6B#D5CF6B

#D5CF6B is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.9% C 0.123 H 105.7°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#D5CF6B
RGBrgb(213, 207, 107)
HSLhsl(57, 56%, 63%)
HSVhsv(57, 50%, 84%)
CMYKcmyk(0%, 2.8%, 49.8%, 16.5%)
CIE-LABlab(81.75, -11.32, 49.95)
CIE-LCHlch(81.75, 51.22, 102.77°)
OKLaboklab(83.87% -0.0331 0.1182)
OKLCHoklch(83.87% 0.123 105.7)
XYZxyz(52.4086, 59.8348, 22.6956)
Luminance0.5983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CF6B #6B71D5
analogous
#D59A6B #D5CF6B #A6D56B
triadic
#D5CF6B #6BD5CF #CF6BD5
tetradic
#D5CF6B #6BD59A #6B71D5 #D56BA6
square
#D5CF6B #6BD59A #6B71D5 #D56BA6
split-complementary
#D5CF6B #6BA6D5 #9A6BD5
monochromatic
#9A942C #C7C03B #D5CF6B #E3DE9B #F0EECA

Accessibility & contrast

On white

1.62
#D5CF6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.97
#D5CF6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CF6B
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CF6B#FFFFFF#000000##000000
##D5CF6B1.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC962
Deuteranopia (green-blind)
#E0CD70
Tritanopia (blue-blind)
#E2C4B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d5cf6b;
/* rgb */ color: rgb(213, 207, 107);
/* oklch */ color: oklch(83.9% 0.123 105.7);
Tailwind
colors: {
  custom: {
    50: '#e4dd98',
    500: '#d5cf6b',
    950: '#000000',
  },
}
SCSS
$custom: #d5cf6b;
$custom-light: #e4dd98;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cf6b",
  "rgb": {
    "r": 213,
    "g": 207,
    "b": 107
  },
  "hsl": {
    "h": 56.604,
    "s": 55.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.83873,
    "c": 0.12275,
    "h": 105.7
  },
  "luminance": 0.59833
}

Semantic roles & 50–950 ramp

primary
#D5CF6B
secondary
#464B9F
accent
#2BC322
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D5CF6B

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

Preview Lab → · Contrast checker → · Palette generator →

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