#D6D451#D6D451

#D6D451 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.7% C 0.151 H 108.4°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#D6D451
RGBrgb(214, 212, 81)
HSLhsl(59, 62%, 58%)
HSVhsv(59, 62%, 84%)
CMYKcmyk(0%, 0.9%, 62.1%, 16.1%)
CIE-LABlab(82.90, -15.38, 62.90)
CIE-LCHlch(82.90, 64.75, 103.74°)
OKLaboklab(84.73% -0.0475 0.1429)
OKLCHoklch(84.73% 0.151 108.4)
XYZxyz(52.7619, 61.9787, 16.9668)
Luminance0.6198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D451 #5153D6
analogous
#D69251 #D6D451 #95D651
triadic
#D6D451 #51D6D4 #D451D6
tetradic
#D6D451 #51D692 #5153D6 #D65195
square
#D6D451 #51D692 #5153D6 #D65195
split-complementary
#D6D451 #5195D6 #9251D6
monochromatic
#8C8A21 #BDBB2D #D6D451 #E2E083 #EDECB4

Accessibility & contrast

On white

1.57
#D6D451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.40
#D6D451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D451
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D451#FFFFFF#000000##000000
##D6D4511.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC41
Deuteranopia (green-blind)
#E6D159
Tritanopia (blue-blind)
#E4C7B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d6d451;
/* rgb */ color: rgb(214, 212, 81);
/* oklch */ color: oklch(84.7% 0.151 108.4);
Tailwind
colors: {
  custom: {
    50: '#e6e188',
    500: '#d6d451',
    950: '#000000',
  },
}
SCSS
$custom: #d6d451;
$custom-light: #e6e188;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d451",
  "rgb": {
    "r": 214,
    "g": 212,
    "b": 81
  },
  "hsl": {
    "h": 59.098,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.8473,
    "c": 0.15062,
    "h": 108.4
  },
  "luminance": 0.61977
}

Semantic roles & 50–950 ramp

primary
#D6D451
secondary
#3A3B92
accent
#45E543
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D6D451

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

Preview Lab → · Contrast checker → · Palette generator →

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