#D6C151#D6C151

#D6C151 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.7% C 0.133 H 98.7°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#D6C151
RGBrgb(214, 193, 81)
HSLhsl(51, 62%, 58%)
HSVhsv(51, 62%, 84%)
CMYKcmyk(0%, 9.8%, 62.1%, 16.1%)
CIE-LABlab(77.89, -5.75, 57.51)
CIE-LCHlch(77.89, 57.80, 95.71°)
OKLaboklab(80.75% -0.0201 0.1315)
OKLCHoklch(80.75% 0.133 98.7)
XYZxyz(48.2887, 53.0323, 15.4757)
Luminance0.5303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C151 #5166D6
analogous
#D67E51 #D6C151 #A9D651
triadic
#D6C151 #51D6C1 #C151D6
tetradic
#D6C151 #51D67E #5166D6 #D651A9
square
#D6C151 #51D67E #5166D6 #D651A9
split-complementary
#D6C151 #51A9D6 #7E51D6
monochromatic
#8C7B21 #BDA62D #D6C151 #E2D383 #EDE4B4

Accessibility & contrast

On white

1.81
#D6C151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#D6C151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C151
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C151#FFFFFF#000000##000000
##D6C1511.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC44
Deuteranopia (green-blind)
#D8C457
Tritanopia (blue-blind)
#E6B4A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d6c151;
/* rgb */ color: rgb(214, 193, 81);
/* oklch */ color: oklch(80.7% 0.133 98.7);
Tailwind
colors: {
  custom: {
    50: '#e6d386',
    500: '#d6c151',
    950: '#000000',
  },
}
SCSS
$custom: #d6c151;
$custom-light: #e6d386;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c151",
  "rgb": {
    "r": 214,
    "g": 193,
    "b": 81
  },
  "hsl": {
    "h": 50.526,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80749,
    "c": 0.13305,
    "h": 98.7
  },
  "luminance": 0.5303
}

Semantic roles & 50–950 ramp

primary
#D6C151
secondary
#3A4792
accent
#5CE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D6C151

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

Preview Lab → · Contrast checker → · Palette generator →

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