#D7D452#D7D452

#D7D452 is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.8% C 0.150 H 107.9°. Best body text is #000000 at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#D7D452
RGBrgb(215, 212, 82)
HSLhsl(59, 62%, 58%)
HSVhsv(59, 62%, 84%)
CMYKcmyk(0%, 1.4%, 61.9%, 15.7%)
CIE-LABlab(82.99, -14.90, 62.60)
CIE-LCHlch(82.99, 64.35, 103.39°)
OKLaboklab(84.82% -0.0461 0.1424)
OKLCHoklch(84.82% 0.15 107.9)
XYZxyz(53.0925, 62.1448, 17.1794)
Luminance0.6214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D452 #5255D7
analogous
#D79252 #D7D452 #97D752
triadic
#D7D452 #52D7D4 #D452D7
tetradic
#D7D452 #52D792 #5255D7 #D75297
square
#D7D452 #52D792 #5255D7 #D75297
split-complementary
#D7D452 #5297D7 #9252D7
monochromatic
#8E8B21 #C0BC2C #D7D452 #E2E084 #EEEDB5

Accessibility & contrast

On white

1.56
#D7D452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.43
#D7D452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D452
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D452#FFFFFF#000000##000000
##D7D4521.001.5613.4313.43
#FFFFFF1.561.0021.0021.00
#00000013.4321.001.001.00
##00000013.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC42
Deuteranopia (green-blind)
#E7D15A
Tritanopia (blue-blind)
#E6C7B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d7d452;
/* rgb */ color: rgb(215, 212, 82);
/* oklch */ color: oklch(84.8% 0.150 107.9);
Tailwind
colors: {
  custom: {
    50: '#e6e188',
    500: '#d7d452',
    950: '#000000',
  },
}
SCSS
$custom: #d7d452;
$custom-light: #e6e188;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d452",
  "rgb": {
    "r": 215,
    "g": 212,
    "b": 82
  },
  "hsl": {
    "h": 58.647,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.84823,
    "c": 0.1497,
    "h": 107.9
  },
  "luminance": 0.62143
}

Semantic roles & 50–950 ramp

primary
#D7D452
secondary
#3A3C93
accent
#46E642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D452

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

Preview Lab → · Contrast checker → · Palette generator →

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