#D6C851#D6C851

#D6C851 is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.2% C 0.139 H 102.6°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#D6C851
RGBrgb(214, 200, 81)
HSLhsl(54, 62%, 58%)
HSVhsv(54, 62%, 84%)
CMYKcmyk(0%, 6.5%, 62.1%, 16.1%)
CIE-LABlab(79.73, -9.34, 59.50)
CIE-LCHlch(79.73, 60.23, 98.92°)
OKLaboklab(82.2% -0.0304 0.1357)
OKLCHoklch(82.2% 0.139 102.6)
XYZxyz(49.8729, 56.2007, 16.0038)
Luminance0.5620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C851 #515FD6
analogous
#D68551 #D6C851 #A2D651
triadic
#D6C851 #51D6C8 #C851D6
tetradic
#D6C851 #51D685 #515FD6 #D651A2
square
#D6C851 #51D685 #515FD6 #D651A2
split-complementary
#D6C851 #51A2D6 #8551D6
monochromatic
#8C8021 #BDAE2D #D6C851 #E2D883 #EDE7B4

Accessibility & contrast

On white

1.72
#D6C851 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#D6C851 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C851
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C851#FFFFFF#000000##000000
##D6C8511.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C243
Deuteranopia (green-blind)
#DDC858
Tritanopia (blue-blind)
#E5BBAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d6c851;
/* rgb */ color: rgb(214, 200, 81);
/* oklch */ color: oklch(82.2% 0.139 102.6);
Tailwind
colors: {
  custom: {
    50: '#e6d887',
    500: '#d6c851',
    950: '#000000',
  },
}
SCSS
$custom: #d6c851;
$custom-light: #e6d887;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c851",
  "rgb": {
    "r": 214,
    "g": 200,
    "b": 81
  },
  "hsl": {
    "h": 53.684,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.82204,
    "c": 0.1391,
    "h": 102.6
  },
  "luminance": 0.56199
}

Semantic roles & 50–950 ramp

primary
#D6C851
secondary
#3A4392
accent
#54E543
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #D6C851

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

Preview Lab → · Contrast checker → · Palette generator →

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