#D6CB40#D6CB40

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

Color values

HEX#D6CB40
RGBrgb(214, 203, 64)
HSLhsl(56, 65%, 55%)
HSVhsv(56, 70%, 84%)
CMYKcmyk(0%, 5.1%, 70.1%, 16.1%)
CIE-LABlab(80.39, -11.82, 66.98)
CIE-LCHlch(80.39, 68.02, 100.01°)
OKLaboklab(82.69% -0.0392 0.1489)
OKLCHoklch(82.69% 0.154 104.8)
XYZxyz(50.0150, 57.3801, 13.2904)
Luminance0.5738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CB40 #404BD6
analogous
#D68040 #D6CB40 #96D640
triadic
#D6CB40 #40D6CB #CB40D6
tetradic
#D6CB40 #40D680 #404BD6 #D64096
square
#D6CB40 #40D680 #404BD6 #D64096
split-complementary
#D6CB40 #4096D6 #8040D6
monochromatic
#80791B #B2A826 #D6CB40 #E1D972 #ECE6A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D6CB40#FFFFFF#000000##000000
##D6CB401.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)
#DDC429
Deuteranopia (green-blind)
#E1CA49
Tritanopia (blue-blind)
#E6BDB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d6cb40;
/* rgb */ color: rgb(214, 203, 64);
/* oklch */ color: oklch(82.7% 0.154 104.8);
Tailwind
colors: {
  custom: {
    50: '#e6da7d',
    500: '#d6cb40',
    950: '#000000',
  },
}
SCSS
$custom: #d6cb40;
$custom-light: #e6da7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d6cb40",
  "rgb": {
    "r": 214,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 55.6,
    "s": 64.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.82692,
    "c": 0.15394,
    "h": 104.8
  },
  "luminance": 0.57378
}

Semantic roles & 50–950 ramp

primary
#D6CB40
secondary
#333987
accent
#4CE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D6CB40

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

Preview Lab → · Contrast checker → · Palette generator →

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