#D1D23F#D1D23F

#D1D23F is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 83.7% C 0.162 H 109.8°. Best body text is #000000 at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#D1D23F
RGBrgb(209, 210, 63)
HSLhsl(60, 62%, 54%)
HSVhsv(60, 70%, 82%)
CMYKcmyk(0.5%, 0%, 70%, 17.6%)
CIE-LABlab(81.84, -17.46, 68.63)
CIE-LCHlch(81.84, 70.81, 104.28°)
OKLaboklab(83.75% -0.0549 0.1523)
OKLCHoklch(83.75% 0.162 109.8)
XYZxyz(50.2400, 60.0088, 13.6380)
Luminance0.6001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D23F #403FD2
analogous
#D2893F #D1D23F #87D23F
triadic
#D1D23F #3FD1D2 #D23FD1
tetradic
#D1D23F #3FD289 #403FD2 #D23F87
square
#D1D23F #3FD289 #403FD2 #D23F87
split-complementary
#D1D23F #3F87D2 #893FD2
monochromatic
#797A1D #ABAC28 #D1D23F #DDDE71 #E9E9A2

Accessibility & contrast

On white

1.62
#D1D23F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.00
#D1D23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D23F
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D23F#FFFFFF#000000##000000
##D1D23F1.001.6213.0013.00
#FFFFFF1.621.0021.0021.00
#00000013.0021.001.001.00
##00000013.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C925
Deuteranopia (green-blind)
#E4CE4A
Tritanopia (blue-blind)
#E0C5B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d1d23f;
/* rgb */ color: rgb(209, 210, 63);
/* oklch */ color: oklch(83.7% 0.162 109.8);
Tailwind
colors: {
  custom: {
    50: '#e3df7d',
    500: '#d1d23f',
    950: '#000000',
  },
}
SCSS
$custom: #d1d23f;
$custom-light: #e3df7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d23f",
  "rgb": {
    "r": 209,
    "g": 210,
    "b": 63
  },
  "hsl": {
    "h": 60.408,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.83747,
    "c": 0.16192,
    "h": 109.8
  },
  "luminance": 0.60007
}

Semantic roles & 50–950 ramp

primary
#D1D23F
secondary
#343382
accent
#43E544
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #D1D23F

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

Preview Lab → · Contrast checker → · Palette generator →

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