#D6D152#D6D152

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

Color values

HEX#D6D152
RGBrgb(214, 209, 82)
HSLhsl(58, 62%, 58%)
HSVhsv(58, 62%, 84%)
CMYKcmyk(0%, 2.3%, 61.7%, 16.1%)
CIE-LABlab(82.11, -13.82, 61.64)
CIE-LCHlch(82.11, 63.17, 102.63°)
OKLaboklab(84.1% -0.043 0.1404)
OKLCHoklch(84.1% 0.147 107)
XYZxyz(52.0568, 60.5079, 16.9180)
Luminance0.6051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D152 #5257D6
analogous
#D68F52 #D6D152 #99D652
triadic
#D6D152 #52D6D1 #D152D6
tetradic
#D6D152 #52D68F #5257D6 #D65299
square
#D6D152 #52D68F #5257D6 #D65299
split-complementary
#D6D152 #5299D6 #8F52D6
monochromatic
#8C8821 #BEB82D #D6D152 #E2DE83 #EDEBB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D6D152#FFFFFF#000000##000000
##D6D1521.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)
#E1C943
Deuteranopia (green-blind)
#E4CF5A
Tritanopia (blue-blind)
#E5C4B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d6d152;
/* rgb */ color: rgb(214, 209, 82);
/* oklch */ color: oklch(84.1% 0.147 107.0);
Tailwind
colors: {
  custom: {
    50: '#e6de88',
    500: '#d6d152',
    950: '#000000',
  },
}
SCSS
$custom: #d6d152;
$custom-light: #e6de88;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d152",
  "rgb": {
    "r": 214,
    "g": 209,
    "b": 82
  },
  "hsl": {
    "h": 57.727,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.84104,
    "c": 0.14684,
    "h": 107
  },
  "luminance": 0.60506
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D6D152

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

Preview Lab → · Contrast checker → · Palette generator →

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