#D6CC33#D6CC33

#D6CC33 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.8% C 0.162 H 105.5°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#D6CC33
RGBrgb(214, 204, 51)
HSLhsl(56, 67%, 52%)
HSVhsv(56, 76%, 84%)
CMYKcmyk(0%, 4.7%, 76.2%, 16.1%)
CIE-LABlab(80.58, -12.89, 71.60)
CIE-LCHlch(80.58, 72.75, 100.21°)
OKLaboklab(82.82% -0.0434 0.1563)
OKLCHoklch(82.82% 0.162 105.5)
XYZxyz(49.9241, 57.7228, 11.6432)
Luminance0.5772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CC33 #333DD6
analogous
#D67B33 #D6CC33 #8FD633
triadic
#D6CC33 #33D6CC #CC33D6
tetradic
#D6CC33 #33D67B #333DD6 #D6338F
square
#D6CC33 #33D67B #333DD6 #D6338F
split-complementary
#D6CC33 #338FD6 #7B33D6
monochromatic
#777118 #AAA122 #D6CC33 #E0D966 #EAE599

Accessibility & contrast

On white

1.67
#D6CC33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#D6CC33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CC33
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CC33#FFFFFF#000000##000000
##D6CC331.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC40A
Deuteranopia (green-blind)
#E2CB3F
Tritanopia (blue-blind)
#E6BEAF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d6cc33;
/* rgb */ color: rgb(214, 204, 51);
/* oklch */ color: oklch(82.8% 0.162 105.5);
Tailwind
colors: {
  custom: {
    50: '#e7db77',
    500: '#d6cc33',
    950: '#000000',
  },
}
SCSS
$custom: #d6cc33;
$custom-light: #e7db77;
$custom-dark: #000000;
JSON
{
  "hex": "#d6cc33",
  "rgb": {
    "r": 214,
    "g": 204,
    "b": 51
  },
  "hsl": {
    "h": 56.319,
    "s": 66.531,
    "l": 51.961
  },
  "oklch": {
    "l": 0.82821,
    "c": 0.16222,
    "h": 105.5
  },
  "luminance": 0.57721
}

Semantic roles & 50–950 ramp

primary
#D6CC33
secondary
#2E337F
accent
#49E93E
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#17140A
muted
#85837D

Preview Lab

Preview with #D6CC33

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

Preview Lab → · Contrast checker → · Palette generator →

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