#D5D253#D5D253

#D5D253 is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.2% C 0.147 H 107.9°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#D5D253
RGBrgb(213, 210, 83)
HSLhsl(59, 61%, 58%)
HSVhsv(59, 61%, 84%)
CMYKcmyk(0%, 1.4%, 61%, 16.5%)
CIE-LABlab(82.31, -14.66, 61.40)
CIE-LCHlch(82.31, 63.13, 103.43°)
OKLaboklab(84.24% -0.0452 0.1401)
OKLCHoklch(84.24% 0.147 107.9)
XYZxyz(52.0502, 60.8654, 17.1883)
Luminance0.6086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D253 #5356D5
analogous
#D59153 #D5D253 #97D553
triadic
#D5D253 #53D5D2 #D253D5
tetradic
#D5D253 #53D591 #5356D5 #D55397
square
#D5D253 #53D591 #5356D5 #D55397
split-complementary
#D5D253 #5397D5 #9153D5
monochromatic
#8C8922 #BDB92E #D5D253 #E1DF84 #EDECB5

Accessibility & contrast

On white

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

On black

13.17
#D5D253 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D253
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D253#FFFFFF#000000##000000
##D5D2531.001.5913.1713.17
#FFFFFF1.591.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5d253;
/* rgb */ color: rgb(213, 210, 83);
/* oklch */ color: oklch(84.2% 0.147 107.9);
Tailwind
colors: {
  custom: {
    50: '#e5df89',
    500: '#d5d253',
    950: '#000000',
  },
}
SCSS
$custom: #d5d253;
$custom-light: #e5df89;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d253",
  "rgb": {
    "r": 213,
    "g": 210,
    "b": 83
  },
  "hsl": {
    "h": 58.615,
    "s": 60.748,
    "l": 58.039
  },
  "oklch": {
    "l": 0.84241,
    "c": 0.1472,
    "h": 107.9
  },
  "luminance": 0.60864
}

Semantic roles & 50–950 ramp

primary
#D5D253
secondary
#3B3D92
accent
#48E444
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D253

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

Preview Lab → · Contrast checker → · Palette generator →

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