#D6CC3F#D6CC3F

#D6CC3F is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 82.9% C 0.155 H 105.2°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#D6CC3F
RGBrgb(214, 204, 63)
HSLhsl(56, 65%, 54%)
HSVhsv(56, 71%, 84%)
CMYKcmyk(0%, 4.7%, 70.6%, 16.1%)
CIE-LABlab(80.65, -12.37, 67.60)
CIE-LCHlch(80.65, 68.73, 100.37°)
OKLaboklab(82.9% -0.0409 0.15)
OKLCHoklch(82.9% 0.155 105.2)
XYZxyz(50.2237, 57.8426, 13.2209)
Luminance0.5784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CC3F #3F49D6
analogous
#D6803F #D6CC3F #95D63F
triadic
#D6CC3F #3FD6CC #CC3FD6
tetradic
#D6CC3F #3FD680 #3F49D6 #D63F95
square
#D6CC3F #3FD680 #3F49D6 #D63F95
split-complementary
#D6CC3F #3F95D6 #803FD6
monochromatic
#7F791B #B2A926 #D6CC3F #E1D971 #ECE7A4

Accessibility & contrast

On white

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

On black

12.57
#D6CC3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CC3F
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CC3F#FFFFFF#000000##000000
##D6CC3F1.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC527
Deuteranopia (green-blind)
#E1CB49
Tritanopia (blue-blind)
#E6BEB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d6cc3f;
/* rgb */ color: rgb(214, 204, 63);
/* oklch */ color: oklch(82.9% 0.155 105.2);
Tailwind
colors: {
  custom: {
    50: '#e6db7d',
    500: '#d6cc3f',
    950: '#000000',
  },
}
SCSS
$custom: #d6cc3f;
$custom-light: #e6db7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d6cc3f",
  "rgb": {
    "r": 214,
    "g": 204,
    "b": 63
  },
  "hsl": {
    "h": 56.026,
    "s": 64.807,
    "l": 54.314
  },
  "oklch": {
    "l": 0.82896,
    "c": 0.15546,
    "h": 105.2
  },
  "luminance": 0.57841
}

Semantic roles & 50–950 ramp

primary
#D6CC3F
secondary
#333887
accent
#4BE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D6CC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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