#D1D150#D1D150

#D1D150 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.7% C 0.149 H 109.2°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#D1D150
RGBrgb(209, 209, 80)
HSLhsl(60, 58%, 57%)
HSVhsv(60, 62%, 82%)
CMYKcmyk(0%, 0%, 61.7%, 18%)
CIE-LABlab(81.69, -16.01, 61.91)
CIE-LCHlch(81.69, 63.94, 104.50°)
OKLaboklab(83.67% -0.0491 0.1408)
OKLCHoklch(83.67% 0.149 109.2)
XYZxyz(50.5445, 59.7368, 16.4557)
Luminance0.5974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D150 #5050D1
analogous
#D19150 #D1D150 #91D150
triadic
#D1D150 #50D1D1 #D150D1
tetradic
#D1D150 #50D191 #5050D1 #D15091
square
#D1D150 #50D191 #5050D1 #D15091
split-complementary
#D1D150 #5091D1 #9150D1
monochromatic
#848423 #B4B42F #D1D150 #DEDE80 #EAEAB1

Accessibility & contrast

On white

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

On black

12.95
#D1D150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D150
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D150#FFFFFF#000000##000000
##D1D1501.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C940
Deuteranopia (green-blind)
#E3CD58
Tritanopia (blue-blind)
#DFC5B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d1d150;
/* rgb */ color: rgb(209, 209, 80);
/* oklch */ color: oklch(83.7% 0.149 109.2);
Tailwind
colors: {
  custom: {
    50: '#e2de87',
    500: '#d1d150',
    950: '#000000',
  },
}
SCSS
$custom: #d1d150;
$custom-light: #e2de87;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d150",
  "rgb": {
    "r": 209,
    "g": 209,
    "b": 80
  },
  "hsl": {
    "h": 60,
    "s": 58.371,
    "l": 56.667
  },
  "oklch": {
    "l": 0.83667,
    "c": 0.14914,
    "h": 109.2
  },
  "luminance": 0.59735
}

Semantic roles & 50–950 ramp

primary
#D1D150
secondary
#3A3A8B
accent
#46E246
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1D150

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

Preview Lab → · Contrast checker → · Palette generator →

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