#D6C351#D6C351

#D6C351 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.2% C 0.135 H 99.9°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#D6C351
RGBrgb(214, 195, 81)
HSLhsl(51, 62%, 58%)
HSVhsv(51, 62%, 84%)
CMYKcmyk(0%, 8.9%, 62.1%, 16.1%)
CIE-LABlab(78.42, -6.78, 58.08)
CIE-LCHlch(78.42, 58.47, 96.66°)
OKLaboklab(81.16% -0.0231 0.1327)
OKLCHoklch(81.16% 0.135 99.9)
XYZxyz(48.7338, 53.9225, 15.6241)
Luminance0.5392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C351 #5164D6
analogous
#D68151 #D6C351 #A6D651
triadic
#D6C351 #51D6C3 #C351D6
tetradic
#D6C351 #51D681 #5164D6 #D651A6
square
#D6C351 #51D681 #5164D6 #D651A6
split-complementary
#D6C351 #51A6D6 #8151D6
monochromatic
#8C7C21 #BDA92D #D6C351 #E2D483 #EDE5B4

Accessibility & contrast

On white

1.78
#D6C351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#D6C351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C351
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C351#FFFFFF#000000##000000
##D6C3511.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE44
Deuteranopia (green-blind)
#DAC557
Tritanopia (blue-blind)
#E6B6AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d6c351;
/* rgb */ color: rgb(214, 195, 81);
/* oklch */ color: oklch(81.2% 0.135 99.9);
Tailwind
colors: {
  custom: {
    50: '#e6d486',
    500: '#d6c351',
    950: '#000000',
  },
}
SCSS
$custom: #d6c351;
$custom-light: #e6d486;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c351",
  "rgb": {
    "r": 214,
    "g": 195,
    "b": 81
  },
  "hsl": {
    "h": 51.429,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81163,
    "c": 0.13471,
    "h": 99.9
  },
  "luminance": 0.5392
}

Semantic roles & 50–950 ramp

primary
#D6C351
secondary
#3A4692
accent
#5AE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D6C351

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

Preview Lab → · Contrast checker → · Palette generator →

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