#D6CD3B#D6CD3B

#D6CD3B 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.66:1 contrast (WCAG AA passes).

Color values

HEX#D6CD3B
RGBrgb(214, 205, 59)
HSLhsl(57, 65%, 54%)
HSVhsv(57, 72%, 84%)
CMYKcmyk(0%, 4.2%, 72.4%, 16.1%)
CIE-LABlab(80.89, -13.06, 69.25)
CIE-LCHlch(80.89, 70.47, 100.68°)
OKLaboklab(83.08% -0.0432 0.1528)
OKLCHoklch(83.08% 0.159 105.8)
XYZxyz(50.3544, 58.2764, 12.7329)
Luminance0.5827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CD3B #3B44D6
analogous
#D67F3B #D6CD3B #91D63B
triadic
#D6CD3B #3BD6CD #CD3BD6
tetradic
#D6CD3B #3BD67F #3B44D6 #D63B91
square
#D6CD3B #3BD67F #3B44D6 #D63B91
split-complementary
#D6CD3B #3B91D6 #7F3BD6
monochromatic
#7D771A #AFA725 #D6CD3B #E1DA6E #EBE7A0

Accessibility & contrast

On white

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

On black

12.66
#D6CD3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CD3B
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CD3B#FFFFFF#000000##000000
##D6CD3B1.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d6cd3b;
/* rgb */ color: rgb(214, 205, 59);
/* oklch */ color: oklch(83.1% 0.159 105.8);
Tailwind
colors: {
  custom: {
    50: '#e6db7b',
    500: '#d6cd3b',
    950: '#000000',
  },
}
SCSS
$custom: #d6cd3b;
$custom-light: #e6db7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d6cd3b",
  "rgb": {
    "r": 214,
    "g": 205,
    "b": 59
  },
  "hsl": {
    "h": 56.516,
    "s": 65.401,
    "l": 53.529
  },
  "oklch": {
    "l": 0.8308,
    "c": 0.15876,
    "h": 105.8
  },
  "luminance": 0.58275
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D6CD3B

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

Preview Lab → · Contrast checker → · Palette generator →

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