#D6CA42#D6CA42

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

Color values

HEX#D6CA42
RGBrgb(214, 202, 66)
HSLhsl(55, 64%, 55%)
HSVhsv(55, 69%, 84%)
CMYKcmyk(0%, 5.6%, 69.2%, 16.1%)
CIE-LABlab(80.14, -11.21, 65.99)
CIE-LCHlch(80.14, 66.94, 99.64°)
OKLaboklab(82.5% -0.0373 0.1471)
OKLCHoklch(82.5% 0.152 104.2)
XYZxyz(49.8375, 56.9325, 13.5171)
Luminance0.5693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CA42 #424ED6
analogous
#D68042 #D6CA42 #98D642
triadic
#D6CA42 #42D6CA #CA42D6
tetradic
#D6CA42 #42D680 #424ED6 #D64298
square
#D6CA42 #42D680 #424ED6 #D64298
split-complementary
#D6CA42 #4298D6 #8042D6
monochromatic
#82791C #B4A827 #D6CA42 #E1D874 #ECE6A7

Accessibility & contrast

On white

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

On black

12.39
#D6CA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CA42
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CA42#FFFFFF#000000##000000
##D6CA421.001.7012.3912.39
#FFFFFF1.701.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d6ca42;
/* rgb */ color: rgb(214, 202, 66);
/* oklch */ color: oklch(82.5% 0.152 104.2);
Tailwind
colors: {
  custom: {
    50: '#e6d97e',
    500: '#d6ca42',
    950: '#000000',
  },
}
SCSS
$custom: #d6ca42;
$custom-light: #e6d97e;
$custom-dark: #000000;
JSON
{
  "hex": "#d6ca42",
  "rgb": {
    "r": 214,
    "g": 202,
    "b": 66
  },
  "hsl": {
    "h": 55.135,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.82496,
    "c": 0.15176,
    "h": 104.2
  },
  "luminance": 0.56931
}

Semantic roles & 50–950 ramp

primary
#D6CA42
secondary
#343B88
accent
#4EE740
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D6CA42

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

Preview Lab → · Contrast checker → · Palette generator →

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