#D7D253#D7D253

#D7D253 is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.4% C 0.147 H 107.0°. Best body text is #000000 at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#D7D253
RGBrgb(215, 210, 83)
HSLhsl(58, 62%, 58%)
HSVhsv(58, 61%, 84%)
CMYKcmyk(0%, 2.3%, 61.4%, 15.7%)
CIE-LABlab(82.47, -13.84, 61.62)
CIE-LCHlch(82.47, 63.16, 102.66°)
OKLaboklab(84.41% -0.043 0.1405)
OKLCHoklch(84.41% 0.147 107)
XYZxyz(52.6340, 61.1665, 17.2157)
Luminance0.6117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D253 #5358D7
analogous
#D79053 #D7D253 #9AD753
triadic
#D7D253 #53D7D2 #D253D7
tetradic
#D7D253 #53D790 #5358D7 #D7539A
square
#D7D253 #53D790 #5358D7 #D7539A
split-complementary
#D7D253 #539AD7 #9053D7
monochromatic
#8E8A21 #C0BB2D #D7D253 #E3DF85 #EEECB6

Accessibility & contrast

On white

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

On black

13.23
#D7D253 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D253
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D253#FFFFFF#000000##000000
##D7D2531.001.5913.2313.23
#FFFFFF1.591.0021.0021.00
#00000013.2321.001.001.00
##00000013.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA44
Deuteranopia (green-blind)
#E5D05B
Tritanopia (blue-blind)
#E6C5B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d7d253;
/* rgb */ color: rgb(215, 210, 83);
/* oklch */ color: oklch(84.4% 0.147 107.0);
Tailwind
colors: {
  custom: {
    50: '#e6df89',
    500: '#d7d253',
    950: '#000000',
  },
}
SCSS
$custom: #d7d253;
$custom-light: #e6df89;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d253",
  "rgb": {
    "r": 215,
    "g": 210,
    "b": 83
  },
  "hsl": {
    "h": 57.727,
    "s": 62.264,
    "l": 58.431
  },
  "oklch": {
    "l": 0.84409,
    "c": 0.14694,
    "h": 107
  },
  "luminance": 0.61165
}

Semantic roles & 50–950 ramp

primary
#D7D253
secondary
#3A3E94
accent
#49E542
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D253

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

Preview Lab → · Contrast checker → · Palette generator →

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