#D6D952#D6D952

#D6D952 is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 85.8% C 0.155 H 110.5°. Best body text is #000000 at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#D6D952
RGBrgb(214, 217, 82)
HSLhsl(61, 64%, 59%)
HSVhsv(61, 62%, 85%)
CMYKcmyk(1.4%, 0%, 62.2%, 14.9%)
CIE-LABlab(84.24, -17.79, 63.91)
CIE-LCHlch(84.24, 66.34, 105.55°)
OKLaboklab(85.8% -0.0542 0.1452)
OKLCHoklch(85.8% 0.155 110.5)
XYZxyz(54.0690, 64.5324, 17.5888)
Luminance0.6453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D952 #5552D9
analogous
#D99852 #D6D952 #92D952
triadic
#D6D952 #52D6D9 #D952D6
tetradic
#D6D952 #52D998 #5552D9 #D95292
square
#D6D952 #52D998 #5552D9 #D95292
split-complementary
#D6D952 #5292D9 #9852D9
monochromatic
#8E9120 #C0C32B #D6D952 #E2E484 #EEEFB6

Accessibility & contrast

On white

1.51
#D6D952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.91
#D6D952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D952
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D952#FFFFFF#000000##000000
##D6D9521.001.5113.9113.91
#FFFFFF1.511.0021.0021.00
#00000013.9121.001.001.00
##00000013.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D041
Deuteranopia (green-blind)
#EAD45B
Tritanopia (blue-blind)
#E4CCBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d6d952;
/* rgb */ color: rgb(214, 217, 82);
/* oklch */ color: oklch(85.8% 0.155 110.5);
Tailwind
colors: {
  custom: {
    50: '#e6e489',
    500: '#d6d952',
    950: '#000000',
  },
}
SCSS
$custom: #d6d952;
$custom-light: #e6e489;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d952",
  "rgb": {
    "r": 214,
    "g": 217,
    "b": 82
  },
  "hsl": {
    "h": 61.333,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.85802,
    "c": 0.155,
    "h": 110.5
  },
  "luminance": 0.64531
}

Semantic roles & 50–950 ramp

primary
#D6D952
secondary
#3B3996
accent
#41E745
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D6D952

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

Preview Lab → · Contrast checker → · Palette generator →

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