#D6C456#D6C456

#D6C456 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.4% C 0.131 H 100.1°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#D6C456
RGBrgb(214, 196, 86)
HSLhsl(52, 61%, 59%)
HSVhsv(52, 60%, 84%)
CMYKcmyk(0%, 8.4%, 59.8%, 16.1%)
CIE-LABlab(78.72, -6.95, 56.21)
CIE-LCHlch(78.72, 56.64, 97.05°)
OKLaboklab(81.42% -0.023 0.1294)
OKLCHoklch(81.42% 0.131 100.1)
XYZxyz(49.1531, 54.4499, 16.7231)
Luminance0.5445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C456 #5668D6
analogous
#D68456 #D6C456 #A8D656
triadic
#D6C456 #56D6C4 #C456D6
tetradic
#D6C456 #56D684 #5668D6 #D656A8
square
#D6C456 #56D684 #5668D6 #D656A8
split-complementary
#D6C456 #56A8D6 #8456D6
monochromatic
#8F8023 #C0AC2F #D6C456 #E2D587 #EEE6B9

Accessibility & contrast

On white

1.77
#D6C456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.89
#D6C456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C456
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C456#FFFFFF#000000##000000
##D6C4561.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4A
Deuteranopia (green-blind)
#DAC65C
Tritanopia (blue-blind)
#E5B7AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d6c456;
/* rgb */ color: rgb(214, 196, 86);
/* oklch */ color: oklch(81.4% 0.131 100.1);
Tailwind
colors: {
  custom: {
    50: '#e5d58a',
    500: '#d6c456',
    950: '#000000',
  },
}
SCSS
$custom: #d6c456;
$custom-light: #e5d58a;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c456",
  "rgb": {
    "r": 214,
    "g": 196,
    "b": 86
  },
  "hsl": {
    "h": 51.563,
    "s": 60.952,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81421,
    "c": 0.13145,
    "h": 100.1
  },
  "luminance": 0.54448
}

Semantic roles & 50–950 ramp

primary
#D6C456
secondary
#3C4895
accent
#5AE444
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D6C456

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

Preview Lab → · Contrast checker → · Palette generator →

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