#D6D151#D6D151

#D6D151 is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 84.1% C 0.148 H 107.0°. Best body text is #000000 at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#D6D151
RGBrgb(214, 209, 81)
HSLhsl(58, 62%, 58%)
HSVhsv(58, 62%, 84%)
CMYKcmyk(0%, 2.3%, 62.1%, 16.1%)
CIE-LABlab(82.11, -13.88, 62.05)
CIE-LCHlch(82.11, 63.58, 102.61°)
OKLaboklab(84.1% -0.0433 0.1411)
OKLCHoklch(84.1% 0.148 107)
XYZxyz(52.0190, 60.4928, 16.7191)
Luminance0.6049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D151 #5156D6
analogous
#D68E51 #D6D151 #99D651
triadic
#D6D151 #51D6D1 #D151D6
tetradic
#D6D151 #51D68E #5156D6 #D65199
square
#D6D151 #51D68E #5156D6 #D65199
split-complementary
#D6D151 #5199D6 #8E51D6
monochromatic
#8C8821 #BDB82D #D6D151 #E2DE83 #EDEBB4

Accessibility & contrast

On white

1.60
#D6D151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.10
#D6D151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D151
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D151#FFFFFF#000000##000000
##D6D1511.001.6013.1013.10
#FFFFFF1.601.0021.0021.00
#00000013.1021.001.001.00
##00000013.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C941
Deuteranopia (green-blind)
#E4CF59
Tritanopia (blue-blind)
#E5C4B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d6d151;
/* rgb */ color: rgb(214, 209, 81);
/* oklch */ color: oklch(84.1% 0.148 107.0);
Tailwind
colors: {
  custom: {
    50: '#e6de87',
    500: '#d6d151',
    950: '#000000',
  },
}
SCSS
$custom: #d6d151;
$custom-light: #e6de87;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d151",
  "rgb": {
    "r": 214,
    "g": 209,
    "b": 81
  },
  "hsl": {
    "h": 57.744,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.84095,
    "c": 0.14763,
    "h": 107
  },
  "luminance": 0.60491
}

Semantic roles & 50–950 ramp

primary
#D6D151
secondary
#3A3D92
accent
#49E543
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D6D151

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

Preview Lab → · Contrast checker → · Palette generator →

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