#D6C451#D6C451

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

Color values

HEX#D6C451
RGBrgb(214, 196, 81)
HSLhsl(52, 62%, 58%)
HSVhsv(52, 62%, 84%)
CMYKcmyk(0%, 8.4%, 62.1%, 16.1%)
CIE-LABlab(78.68, -7.29, 58.36)
CIE-LCHlch(78.68, 58.82, 97.12°)
OKLaboklab(81.37% -0.0245 0.1333)
OKLCHoklch(81.37% 0.136 100.4)
XYZxyz(48.9586, 54.3721, 15.6990)
Luminance0.5437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C451 #5163D6
analogous
#D68251 #D6C451 #A5D651
triadic
#D6C451 #51D6C4 #C451D6
tetradic
#D6C451 #51D682 #5163D6 #D651A5
square
#D6C451 #51D682 #5163D6 #D651A5
split-complementary
#D6C451 #51A5D6 #8251D6
monochromatic
#8C7D21 #BDAA2D #D6C451 #E2D583 #EDE6B4

Accessibility & contrast

On white

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

On black

11.87
#D6C451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C451
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C451#FFFFFF#000000##000000
##D6C4511.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF44
Deuteranopia (green-blind)
#DAC657
Tritanopia (blue-blind)
#E5B7AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d6c451;
/* rgb */ color: rgb(214, 196, 81);
/* oklch */ color: oklch(81.4% 0.136 100.4);
Tailwind
colors: {
  custom: {
    50: '#e6d587',
    500: '#d6c451',
    950: '#000000',
  },
}
SCSS
$custom: #d6c451;
$custom-light: #e6d587;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c451",
  "rgb": {
    "r": 214,
    "g": 196,
    "b": 81
  },
  "hsl": {
    "h": 51.88,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.8137,
    "c": 0.13557,
    "h": 100.4
  },
  "luminance": 0.5437
}

Semantic roles & 50–950 ramp

primary
#D6C451
secondary
#3A4692
accent
#59E543
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #D6C451

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

Preview Lab → · Contrast checker → · Palette generator →

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