#D6CD5F#D6CD5F

#D6CD5F is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.4% C 0.132 H 104.6°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#D6CD5F
RGBrgb(214, 205, 95)
HSLhsl(55, 59%, 61%)
HSVhsv(55, 56%, 84%)
CMYKcmyk(0%, 4.2%, 55.6%, 16.1%)
CIE-LABlab(81.17, -10.89, 54.90)
CIE-LCHlch(81.17, 55.97, 101.22°)
OKLaboklab(83.4% -0.0332 0.1277)
OKLCHoklch(83.4% 0.132 104.6)
XYZxyz(51.6301, 58.7867, 19.4516)
Luminance0.5878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CD5F #5F68D6
analogous
#D6915F #D6CD5F #A3D65F
triadic
#D6CD5F #5FD6CD #CD5FD6
tetradic
#D6CD5F #5FD691 #5F68D6 #D65FA3
square
#D6CD5F #5FD691 #5F68D6 #D65FA3
split-complementary
#D6CD5F #5FA3D6 #915FD6
monochromatic
#958C26 #C5BA33 #D6CD5F #E2DC90 #EFEBC0

Accessibility & contrast

On white

1.65
#D6CD5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.76
#D6CD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CD5F
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CD5F#FFFFFF#000000##000000
##D6CD5F1.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC754
Deuteranopia (green-blind)
#E0CC65
Tritanopia (blue-blind)
#E4C1B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d6cd5f;
/* rgb */ color: rgb(214, 205, 95);
/* oklch */ color: oklch(83.4% 0.132 104.6);
Tailwind
colors: {
  custom: {
    50: '#e5dc90',
    500: '#d6cd5f',
    950: '#000000',
  },
}
SCSS
$custom: #d6cd5f;
$custom-light: #e5dc90;
$custom-dark: #000000;
JSON
{
  "hex": "#d6cd5f",
  "rgb": {
    "r": 214,
    "g": 205,
    "b": 95
  },
  "hsl": {
    "h": 55.462,
    "s": 59.204,
    "l": 60.588
  },
  "oklch": {
    "l": 0.83395,
    "c": 0.13196,
    "h": 104.6
  },
  "luminance": 0.58785
}

Semantic roles & 50–950 ramp

primary
#D6CD5F
secondary
#40469A
accent
#2BC71F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D6CD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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