#D1D245#D1D245

#D1D245 is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 83.8% C 0.158 H 109.8°. Best body text is #000000 at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#D1D245
RGBrgb(209, 210, 69)
HSLhsl(60, 61%, 55%)
HSVhsv(60, 67%, 82%)
CMYKcmyk(0.5%, 0%, 67.1%, 17.6%)
CIE-LABlab(81.88, -17.16, 66.46)
CIE-LCHlch(81.88, 68.64, 104.47°)
OKLaboklab(83.79% -0.0535 0.1488)
OKLCHoklch(83.79% 0.158 109.8)
XYZxyz(50.4170, 60.0796, 14.5698)
Luminance0.6008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D245 #4645D2
analogous
#D28D45 #D1D245 #8AD245
triadic
#D1D245 #45D1D2 #D245D1
tetradic
#D1D245 #45D28D #4645D2 #D2458A
square
#D1D245 #45D28D #4645D2 #D2458A
split-complementary
#D1D245 #458AD2 #8D45D2
monochromatic
#7D7E1F #AEAF2A #D1D245 #DDDE76 #E9EAA8

Accessibility & contrast

On white

1.61
#D1D245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.02
#D1D245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D245
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D245#FFFFFF#000000##000000
##D1D2451.001.6113.0213.02
#FFFFFF1.611.0021.0021.00
#00000013.0221.001.001.00
##00000013.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C930
Deuteranopia (green-blind)
#E4CE4F
Tritanopia (blue-blind)
#DFC5B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d1d245;
/* rgb */ color: rgb(209, 210, 69);
/* oklch */ color: oklch(83.8% 0.158 109.8);
Tailwind
colors: {
  custom: {
    50: '#e2df81',
    500: '#d1d245',
    950: '#000000',
  },
}
SCSS
$custom: #d1d245;
$custom-light: #e2df81;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d245",
  "rgb": {
    "r": 209,
    "g": 210,
    "b": 69
  },
  "hsl": {
    "h": 60.426,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.8379,
    "c": 0.15807,
    "h": 109.8
  },
  "luminance": 0.60078
}

Semantic roles & 50–950 ramp

primary
#D1D245
secondary
#363686
accent
#44E445
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1D245

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

Preview Lab → · Contrast checker → · Palette generator →

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