#D6CD3A#D6CD3A

#D6CD3A is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.1% C 0.159 H 105.8°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#D6CD3A
RGBrgb(214, 205, 58)
HSLhsl(57, 66%, 53%)
HSVhsv(57, 73%, 84%)
CMYKcmyk(0%, 4.2%, 72.9%, 16.1%)
CIE-LABlab(80.89, -13.10, 69.59)
CIE-LCHlch(80.89, 70.81, 100.66°)
OKLaboklab(83.07% -0.0434 0.1533)
OKLCHoklch(83.07% 0.159 105.8)
XYZxyz(50.3287, 58.2662, 12.5976)
Luminance0.5826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CD3A #3A43D6
analogous
#D67F3A #D6CD3A #91D63A
triadic
#D6CD3A #3AD6CD #CD3AD6
tetradic
#D6CD3A #3AD67F #3A43D6 #D63A91
square
#D6CD3A #3AD67F #3A43D6 #D63A91
split-complementary
#D6CD3A #3A91D6 #7F3AD6
monochromatic
#7C761A #AEA724 #D6CD3A #E1DA6D #EBE79F

Accessibility & contrast

On white

1.66
#D6CD3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.65
#D6CD3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CD3A
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CD3A#FFFFFF#000000##000000
##D6CD3A1.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC51D
Deuteranopia (green-blind)
#E2CC45
Tritanopia (blue-blind)
#E6BFB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d6cd3a;
/* rgb */ color: rgb(214, 205, 58);
/* oklch */ color: oklch(83.1% 0.159 105.8);
Tailwind
colors: {
  custom: {
    50: '#e7db7b',
    500: '#d6cd3a',
    950: '#000000',
  },
}
SCSS
$custom: #d6cd3a;
$custom-light: #e7db7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d6cd3a",
  "rgb": {
    "r": 214,
    "g": 205,
    "b": 58
  },
  "hsl": {
    "h": 56.538,
    "s": 65.546,
    "l": 53.333
  },
  "oklch": {
    "l": 0.83074,
    "c": 0.15934,
    "h": 105.8
  },
  "luminance": 0.58264
}

Semantic roles & 50–950 ramp

primary
#D6CD3A
secondary
#313683
accent
#49E83F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D6CD3A

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

Preview Lab → · Contrast checker → · Palette generator →

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