#D0D158#D0D158

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

Color values

HEX#D0D158
RGBrgb(208, 209, 88)
HSLhsl(60, 57%, 58%)
HSVhsv(60, 58%, 82%)
CMYKcmyk(0.5%, 0%, 57.9%, 18%)
CIE-LABlab(81.68, -15.88, 58.47)
CIE-LCHlch(81.68, 60.58, 105.20°)
OKLaboklab(83.66% -0.0478 0.1346)
OKLCHoklch(83.66% 0.143 109.6)
XYZxyz(50.5758, 59.7167, 18.0929)
Luminance0.5971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0D158 #5958D1
analogous
#D19558 #D0D158 #93D158
triadic
#D0D158 #58D0D1 #D158D0
tetradic
#D0D158 #58D195 #5958D1 #D15893
square
#D0D158 #58D195 #5958D1 #D15893
split-complementary
#D0D158 #5893D1 #9558D1
monochromatic
#888926 #B8B933 #D0D158 #DEDE88 #EBEBB8

Accessibility & contrast

On white

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

On black

12.94
#D0D158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0D158
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0D158#FFFFFF#000000##000000
##D0D1581.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94B
Deuteranopia (green-blind)
#E2CD5F
Tritanopia (blue-blind)
#DDC5B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d0d158;
/* rgb */ color: rgb(208, 209, 88);
/* oklch */ color: oklch(83.7% 0.143 109.6);
Tailwind
colors: {
  custom: {
    50: '#e1de8c',
    500: '#d0d158',
    950: '#000000',
  },
}
SCSS
$custom: #d0d158;
$custom-light: #e1de8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d0d158",
  "rgb": {
    "r": 208,
    "g": 209,
    "b": 88
  },
  "hsl": {
    "h": 60.496,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.83661,
    "c": 0.14286,
    "h": 109.6
  },
  "luminance": 0.59715
}

Semantic roles & 50–950 ramp

primary
#D0D158
secondary
#3E3E8F
accent
#48E049
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D0D158

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

Preview Lab → · Contrast checker → · Palette generator →

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