#D1D54B#D1D54B

#D1D54B is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.5% C 0.157 H 110.9°. Best body text is #000000 at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#D1D54B
RGBrgb(209, 213, 75)
HSLhsl(62, 62%, 56%)
HSVhsv(62, 65%, 84%)
CMYKcmyk(1.9%, 0%, 64.8%, 16.5%)
CIE-LABlab(82.73, -18.30, 65.01)
CIE-LCHlch(82.73, 67.54, 105.72°)
OKLaboklab(84.48% -0.0561 0.1466)
OKLCHoklch(84.48% 0.157 110.9)
XYZxyz(51.3603, 61.6531, 15.8500)
Luminance0.6165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D54B #4F4BD5
analogous
#D5944B #D1D54B #8CD54B
triadic
#D1D54B #4BD1D5 #D54BD1
tetradic
#D1D54B #4BD594 #4F4BD5 #D54B8C
square
#D1D54B #4BD594 #4F4BD5 #D54B8C
split-complementary
#D1D54B #4B8CD5 #944BD5
monochromatic
#83861F #B4B82B #D1D54B #DEE17D #EAECAE

Accessibility & contrast

On white

1.58
#D1D54B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.33
#D1D54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D54B
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D54B#FFFFFF#000000##000000
##D1D54B1.001.5813.3313.33
#FFFFFF1.581.0021.0021.00
#00000013.3321.001.001.00
##00000013.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC38
Deuteranopia (green-blind)
#E6D054
Tritanopia (blue-blind)
#DFC8B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d1d54b;
/* rgb */ color: rgb(209, 213, 75);
/* oklch */ color: oklch(84.5% 0.157 110.9);
Tailwind
colors: {
  custom: {
    50: '#e2e184',
    500: '#d1d54b',
    950: '#000000',
  },
}
SCSS
$custom: #d1d54b;
$custom-light: #e2e184;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d54b",
  "rgb": {
    "r": 209,
    "g": 213,
    "b": 75
  },
  "hsl": {
    "h": 61.739,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.84481,
    "c": 0.157,
    "h": 110.9
  },
  "luminance": 0.61652
}

Semantic roles & 50–950 ramp

primary
#D1D54B
secondary
#3A378D
accent
#43E547
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1D54B

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

Preview Lab → · Contrast checker → · Palette generator →

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