#D6D252#D6D252

#D6D252 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.3% C 0.148 H 107.5°. Best body text is #000000 at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#D6D252
RGBrgb(214, 210, 82)
HSLhsl(58, 62%, 58%)
HSVhsv(58, 62%, 84%)
CMYKcmyk(0%, 1.9%, 61.7%, 16.1%)
CIE-LABlab(82.38, -14.32, 61.92)
CIE-LCHlch(82.38, 63.56, 103.02°)
OKLaboklab(84.32% -0.0444 0.141)
OKLCHoklch(84.32% 0.148 107.5)
XYZxyz(52.3029, 61.0001, 17.0001)
Luminance0.6100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D252 #5256D6
analogous
#D69052 #D6D252 #98D652
triadic
#D6D252 #52D6D2 #D252D6
tetradic
#D6D252 #52D690 #5256D6 #D65298
square
#D6D252 #52D690 #5256D6 #D65298
split-complementary
#D6D252 #5298D6 #9052D6
monochromatic
#8C8921 #BEB92D #D6D252 #E2DF83 #EDECB5

Accessibility & contrast

On white

1.59
#D6D252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.20
#D6D252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D252
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D252#FFFFFF#000000##000000
##D6D2521.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA42
Deuteranopia (green-blind)
#E5CF5A
Tritanopia (blue-blind)
#E5C5B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d6d252;
/* rgb */ color: rgb(214, 210, 82);
/* oklch */ color: oklch(84.3% 0.148 107.5);
Tailwind
colors: {
  custom: {
    50: '#e6df88',
    500: '#d6d252',
    950: '#000000',
  },
}
SCSS
$custom: #d6d252;
$custom-light: #e6df88;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d252",
  "rgb": {
    "r": 214,
    "g": 210,
    "b": 82
  },
  "hsl": {
    "h": 58.182,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.84316,
    "c": 0.14784,
    "h": 107.5
  },
  "luminance": 0.60999
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D6D252

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

Preview Lab → · Contrast checker → · Palette generator →

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