#D1D84B#D1D84B

#D1D84B is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.1% C 0.160 H 112.1°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#D1D84B
RGBrgb(209, 216, 75)
HSLhsl(63, 64%, 57%)
HSVhsv(63, 65%, 85%)
CMYKcmyk(3.2%, 0%, 65.3%, 15.3%)
CIE-LABlab(83.53, -19.77, 65.84)
CIE-LCHlch(83.53, 68.75, 106.71°)
OKLaboklab(85.13% -0.0602 0.1484)
OKLCHoklch(85.13% 0.16 112.1)
XYZxyz(52.1219, 63.1762, 16.1038)
Luminance0.6318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D84B #524BD8
analogous
#D8994B #D1D84B #8AD84B
triadic
#D1D84B #4BD1D8 #D84BD1
tetradic
#D1D84B #4BD899 #524BD8 #D84B8A
square
#D1D84B #4BD899 #524BD8 #D84B8A
split-complementary
#D1D84B #4B8AD8 #994BD8
monochromatic
#858B1E #B6BD29 #D1D84B #DEE37D #EBEEB0

Accessibility & contrast

On white

1.54
#D1D84B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.64
#D1D84B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D84B
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D84B#FFFFFF#000000##000000
##D1D84B1.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE37
Deuteranopia (green-blind)
#E8D255
Tritanopia (blue-blind)
#DFCBBB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d1d84b;
/* rgb */ color: rgb(209, 216, 75);
/* oklch */ color: oklch(85.1% 0.160 112.1);
Tailwind
colors: {
  custom: {
    50: '#e2e384',
    500: '#d1d84b',
    950: '#000000',
  },
}
SCSS
$custom: #d1d84b;
$custom-light: #e2e384;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d84b",
  "rgb": {
    "r": 209,
    "g": 216,
    "b": 75
  },
  "hsl": {
    "h": 62.979,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.85125,
    "c": 0.16014,
    "h": 112.1
  },
  "luminance": 0.63175
}

Semantic roles & 50–950 ramp

primary
#D1D84B
secondary
#3B3790
accent
#40E749
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1D84B

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

Preview Lab → · Contrast checker → · Palette generator →

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