#D6D652#D6D652

#D6D652 is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.2% C 0.152 H 109.2°. Best body text is #000000 at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#D6D652
RGBrgb(214, 214, 82)
HSLhsl(60, 62%, 58%)
HSVhsv(60, 62%, 84%)
CMYKcmyk(0%, 0%, 61.7%, 16.1%)
CIE-LABlab(83.44, -16.30, 63.06)
CIE-LCHlch(83.44, 65.13, 104.50°)
OKLaboklab(85.16% -0.05 0.1434)
OKLCHoklch(85.16% 0.152 109.2)
XYZxyz(53.3028, 62.9999, 17.3334)
Luminance0.6300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D652 #5252D6
analogous
#D69452 #D6D652 #94D652
triadic
#D6D652 #52D6D6 #D652D6
tetradic
#D6D652 #52D694 #5252D6 #D65294
square
#D6D652 #52D694 #5252D6 #D65294
split-complementary
#D6D652 #5294D6 #9452D6
monochromatic
#8C8C21 #BEBE2D #D6D652 #E2E283 #EDEDB5

Accessibility & contrast

On white

1.54
#D6D652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.60
#D6D652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D652
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D652#FFFFFF#000000##000000
##D6D6521.001.5413.6013.60
#FFFFFF1.541.0021.0021.00
#00000013.6021.001.001.00
##00000013.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE42
Deuteranopia (green-blind)
#E8D25A
Tritanopia (blue-blind)
#E4C9BA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d6d652;
/* rgb */ color: rgb(214, 214, 82);
/* oklch */ color: oklch(85.2% 0.152 109.2);
Tailwind
colors: {
  custom: {
    50: '#e6e288',
    500: '#d6d652',
    950: '#000000',
  },
}
SCSS
$custom: #d6d652;
$custom-light: #e6e288;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d652",
  "rgb": {
    "r": 214,
    "g": 214,
    "b": 82
  },
  "hsl": {
    "h": 60,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.85164,
    "c": 0.15189,
    "h": 109.2
  },
  "luminance": 0.62998
}

Semantic roles & 50–950 ramp

primary
#D6D652
secondary
#3A3A92
accent
#43E543
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D6D652

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

Preview Lab → · Contrast checker → · Palette generator →

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