#D7D652#D7D652

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

Color values

HEX#D7D652
RGBrgb(215, 214, 82)
HSLhsl(60, 62%, 58%)
HSVhsv(60, 62%, 84%)
CMYKcmyk(0%, 0.5%, 61.9%, 15.7%)
CIE-LABlab(83.52, -15.89, 63.17)
CIE-LCHlch(83.52, 65.14, 104.12°)
OKLaboklab(85.25% -0.0489 0.1436)
OKLCHoklch(85.25% 0.152 108.8)
XYZxyz(53.5956, 63.1509, 17.3471)
Luminance0.6315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D652 #5253D7
analogous
#D79352 #D7D652 #95D752
triadic
#D7D652 #52D7D6 #D652D7
tetradic
#D7D652 #52D793 #5253D7 #D75295
square
#D7D652 #52D793 #5253D7 #D75295
split-complementary
#D7D652 #5295D7 #9352D7
monochromatic
#8E8D21 #C0BE2C #D7D652 #E2E284 #EEEEB5

Accessibility & contrast

On white

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

On black

13.63
#D7D652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D652
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D652#FFFFFF#000000##000000
##D7D6521.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7d652;
/* rgb */ color: rgb(215, 214, 82);
/* oklch */ color: oklch(85.2% 0.152 108.8);
Tailwind
colors: {
  custom: {
    50: '#e6e288',
    500: '#d7d652',
    950: '#000000',
  },
}
SCSS
$custom: #d7d652;
$custom-light: #e6e288;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d652",
  "rgb": {
    "r": 215,
    "g": 214,
    "b": 82
  },
  "hsl": {
    "h": 59.549,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.85246,
    "c": 0.15173,
    "h": 108.8
  },
  "luminance": 0.63149
}

Semantic roles & 50–950 ramp

primary
#D7D652
secondary
#3A3A93
accent
#44E642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D652

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

Preview Lab → · Contrast checker → · Palette generator →

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