#D6CA3B#D6CA3B

#D6CA3B is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.4% C 0.156 H 104.5°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#D6CA3B
RGBrgb(214, 202, 59)
HSLhsl(55, 65%, 54%)
HSVhsv(55, 72%, 84%)
CMYKcmyk(0%, 5.6%, 72.4%, 16.1%)
CIE-LABlab(80.10, -11.55, 68.49)
CIE-LCHlch(80.10, 69.46, 99.57°)
OKLaboklab(82.45% -0.039 0.1512)
OKLCHoklch(82.45% 0.156 104.5)
XYZxyz(49.6436, 56.8549, 12.4960)
Luminance0.5685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CA3B #3B47D6
analogous
#D67C3B #D6CA3B #94D63B
triadic
#D6CA3B #3BD6CA #CA3BD6
tetradic
#D6CA3B #3BD67C #3B47D6 #D63B94
square
#D6CA3B #3BD67C #3B47D6 #D63B94
split-complementary
#D6CA3B #3B94D6 #7C3BD6
monochromatic
#7D751A #AFA425 #D6CA3B #E1D86E #EBE5A0

Accessibility & contrast

On white

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

On black

12.37
#D6CA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CA3B
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CA3B#FFFFFF#000000##000000
##D6CA3B1.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC321
Deuteranopia (green-blind)
#E0CA45
Tritanopia (blue-blind)
#E6BCAE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d6ca3b;
/* rgb */ color: rgb(214, 202, 59);
/* oklch */ color: oklch(82.4% 0.156 104.5);
Tailwind
colors: {
  custom: {
    50: '#e6d97b',
    500: '#d6ca3b',
    950: '#000000',
  },
}
SCSS
$custom: #d6ca3b;
$custom-light: #e6d97b;
$custom-dark: #000000;
JSON
{
  "hex": "#d6ca3b",
  "rgb": {
    "r": 214,
    "g": 202,
    "b": 59
  },
  "hsl": {
    "h": 55.355,
    "s": 65.401,
    "l": 53.529
  },
  "oklch": {
    "l": 0.82448,
    "c": 0.1561,
    "h": 104.5
  },
  "luminance": 0.56853
}

Semantic roles & 50–950 ramp

primary
#D6CA3B
secondary
#313884
accent
#4DE83F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D6CA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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