#D6CD5A#D6CD5A

#D6CD5A is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.3% C 0.136 H 104.8°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#D6CD5A
RGBrgb(214, 205, 90)
HSLhsl(56, 60%, 60%)
HSVhsv(56, 58%, 84%)
CMYKcmyk(0%, 4.2%, 57.9%, 16.1%)
CIE-LABlab(81.13, -11.26, 57.10)
CIE-LCHlch(81.13, 58.20, 101.15°)
OKLaboklab(83.34% -0.0349 0.1318)
OKLCHoklch(83.34% 0.136 104.8)
XYZxyz(51.4100, 58.6987, 18.2928)
Luminance0.5870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CD5A #5A63D6
analogous
#D68F5A #D6CD5A #A1D65A
triadic
#D6CD5A #5AD6CD #CD5AD6
tetradic
#D6CD5A #5AD68F #5A63D6 #D65AA1
square
#D6CD5A #5AD68F #5A63D6 #D65AA1
split-complementary
#D6CD5A #5AA1D6 #8F5AD6
monochromatic
#918A24 #C2B830 #D6CD5A #E2DC8B #EEEBBC

Accessibility & contrast

On white

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

On black

12.74
#D6CD5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CD5A
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CD5A#FFFFFF#000000##000000
##D6CD5A1.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64E
Deuteranopia (green-blind)
#E0CC60
Tritanopia (blue-blind)
#E4C1B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d6cd5a;
/* rgb */ color: rgb(214, 205, 90);
/* oklch */ color: oklch(83.3% 0.136 104.8);
Tailwind
colors: {
  custom: {
    50: '#e5dc8d',
    500: '#d6cd5a',
    950: '#000000',
  },
}
SCSS
$custom: #d6cd5a;
$custom-light: #e5dc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d6cd5a",
  "rgb": {
    "r": 214,
    "g": 205,
    "b": 90
  },
  "hsl": {
    "h": 55.645,
    "s": 60.194,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83341,
    "c": 0.13635,
    "h": 104.8
  },
  "luminance": 0.58697
}

Semantic roles & 50–950 ramp

primary
#D6CD5A
secondary
#3D4497
accent
#50E344
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D6CD5A

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

Preview Lab → · Contrast checker → · Palette generator →

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