#D6CA40#D6CA40

#D6CA40 is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.5% C 0.153 H 104.3°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#D6CA40
RGBrgb(214, 202, 64)
HSLhsl(55, 65%, 55%)
HSVhsv(55, 70%, 84%)
CMYKcmyk(0%, 5.6%, 70.1%, 16.1%)
CIE-LABlab(80.13, -11.31, 66.72)
CIE-LCHlch(80.13, 67.68, 99.62°)
OKLaboklab(82.48% -0.0378 0.1483)
OKLCHoklch(82.48% 0.153 104.3)
XYZxyz(49.7796, 56.9093, 13.2120)
Luminance0.5691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CA40 #404CD6
analogous
#D67F40 #D6CA40 #97D640
triadic
#D6CA40 #40D6CA #CA40D6
tetradic
#D6CA40 #40D67F #404CD6 #D64097
square
#D6CA40 #40D67F #404CD6 #D64097
split-complementary
#D6CA40 #4097D6 #7F40D6
monochromatic
#80781B #B2A726 #D6CA40 #E1D872 #ECE6A5

Accessibility & contrast

On white

1.70
#D6CA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.38
#D6CA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CA40
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CA40#FFFFFF#000000##000000
##D6CA401.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC32A
Deuteranopia (green-blind)
#E0CA49
Tritanopia (blue-blind)
#E6BCAF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d6ca40;
/* rgb */ color: rgb(214, 202, 64);
/* oklch */ color: oklch(82.5% 0.153 104.3);
Tailwind
colors: {
  custom: {
    50: '#e6d97d',
    500: '#d6ca40',
    950: '#000000',
  },
}
SCSS
$custom: #d6ca40;
$custom-light: #e6d97d;
$custom-dark: #000000;
JSON
{
  "hex": "#d6ca40",
  "rgb": {
    "r": 214,
    "g": 202,
    "b": 64
  },
  "hsl": {
    "h": 55.2,
    "s": 64.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.82482,
    "c": 0.15305,
    "h": 104.3
  },
  "luminance": 0.56907
}

Semantic roles & 50–950 ramp

primary
#D6CA40
secondary
#333A87
accent
#4EE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D6CA40

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

Preview Lab → · Contrast checker → · Palette generator →

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