#D6CA62#D6CA62

#D6CA62 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.8% C 0.126 H 102.8°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#D6CA62
RGBrgb(214, 202, 98)
HSLhsl(54, 59%, 61%)
HSVhsv(54, 54%, 84%)
CMYKcmyk(0%, 5.6%, 54.2%, 16.1%)
CIE-LABlab(80.42, -9.13, 52.65)
CIE-LCHlch(80.42, 53.43, 99.84°)
OKLaboklab(82.8% -0.0279 0.1232)
OKLCHoklch(82.8% 0.126 102.8)
XYZxyz(51.0583, 57.4208, 19.9467)
Luminance0.5742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CA62 #626ED6
analogous
#D69062 #D6CA62 #A8D662
triadic
#D6CA62 #62D6CA #CA62D6
tetradic
#D6CA62 #62D690 #626ED6 #D662A8
square
#D6CA62 #62D690 #626ED6 #D662A8
split-complementary
#D6CA62 #62A8D6 #9062D6
monochromatic
#968B27 #C7B834 #D6CA62 #E3DA93 #EFEBC3

Accessibility & contrast

On white

1.68
#D6CA62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#D6CA62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CA62
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CA62#FFFFFF#000000##000000
##D6CA621.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC458
Deuteranopia (green-blind)
#DECA67
Tritanopia (blue-blind)
#E4BEB3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d6ca62;
/* rgb */ color: rgb(214, 202, 98);
/* oklch */ color: oklch(82.8% 0.126 102.8);
Tailwind
colors: {
  custom: {
    50: '#e5d992',
    500: '#d6ca62',
    950: '#000000',
  },
}
SCSS
$custom: #d6ca62;
$custom-light: #e5d992;
$custom-dark: #000000;
JSON
{
  "hex": "#d6ca62",
  "rgb": {
    "r": 214,
    "g": 202,
    "b": 98
  },
  "hsl": {
    "h": 53.793,
    "s": 58.586,
    "l": 61.176
  },
  "oklch": {
    "l": 0.82802,
    "c": 0.12629,
    "h": 102.8
  },
  "luminance": 0.57419
}

Semantic roles & 50–950 ramp

primary
#D6CA62
secondary
#414A9B
accent
#31C61F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D6CA62

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

Preview Lab → · Contrast checker → · Palette generator →

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