#D5D23A#D5D23A

#D5D23A is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 84.0% C 0.164 H 108.3°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#D5D23A
RGBrgb(213, 210, 58)
HSLhsl(59, 65%, 53%)
HSVhsv(59, 73%, 84%)
CMYKcmyk(0%, 1.4%, 72.8%, 16.5%)
CIE-LABlab(82.13, -16.02, 70.74)
CIE-LCHlch(82.13, 72.53, 102.76°)
OKLaboklab(84.05% -0.0516 0.1558)
OKLCHoklch(84.05% 0.164 108.3)
XYZxyz(51.2528, 60.5465, 12.9890)
Luminance0.6055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D23A #3A3DD5
analogous
#D5853A #D5D23A #8AD53A
triadic
#D5D23A #3AD5D2 #D23AD5
tetradic
#D5D23A #3AD585 #3A3DD5 #D53A8A
square
#D5D23A #3AD585 #3A3DD5 #D53A8A
split-complementary
#D5D23A #3A8AD5 #853AD5
monochromatic
#7A791A #ADAA25 #D5D23A #E0DE6C #EBE99F

Accessibility & contrast

On white

1.60
#D5D23A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.11
#D5D23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D23A
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D23A#FFFFFF#000000##000000
##D5D23A1.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C91B
Deuteranopia (green-blind)
#E6CF46
Tritanopia (blue-blind)
#E4C4B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d5d23a;
/* rgb */ color: rgb(213, 210, 58);
/* oklch */ color: oklch(84.0% 0.164 108.3);
Tailwind
colors: {
  custom: {
    50: '#e6df7b',
    500: '#d5d23a',
    950: '#000000',
  },
}
SCSS
$custom: #d5d23a;
$custom-light: #e6df7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d23a",
  "rgb": {
    "r": 213,
    "g": 210,
    "b": 58
  },
  "hsl": {
    "h": 58.839,
    "s": 64.854,
    "l": 53.137
  },
  "oklch": {
    "l": 0.84049,
    "c": 0.1641,
    "h": 108.3
  },
  "luminance": 0.60545
}

Semantic roles & 50–950 ramp

primary
#D5D23A
secondary
#313282
accent
#43E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D5D23A

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

Preview Lab → · Contrast checker → · Palette generator →

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