#D0D162#D0D162

#D0D162 is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 83.8% C 0.134 H 109.4°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#D0D162
RGBrgb(208, 209, 98)
HSLhsl(61, 55%, 60%)
HSVhsv(61, 53%, 82%)
CMYKcmyk(0.5%, 0%, 53.1%, 18%)
CIE-LABlab(81.78, -15.12, 54.10)
CIE-LCHlch(81.78, 56.17, 105.61°)
OKLaboklab(83.77% -0.0446 0.1264)
OKLCHoklch(83.77% 0.134 109.4)
XYZxyz(51.0188, 59.8939, 20.4260)
Luminance0.5989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0D162 #6362D1
analogous
#D19B62 #D0D162 #98D162
triadic
#D0D162 #62D0D1 #D162D0
tetradic
#D0D162 #62D19B #6362D1 #D16298
square
#D0D162 #62D19B #6362D1 #D16298
split-complementary
#D0D162 #6298D1 #9B62D1
monochromatic
#8E8F2A #BDBE38 #D0D162 #DEDF91 #ECEDC1

Accessibility & contrast

On white

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

On black

12.98
#D0D162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0D162
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0D162#FFFFFF#000000##000000
##D0D1621.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C957
Deuteranopia (green-blind)
#E1CD68
Tritanopia (blue-blind)
#DDC6B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d0d162;
/* rgb */ color: rgb(208, 209, 98);
/* oklch */ color: oklch(83.8% 0.134 109.4);
Tailwind
colors: {
  custom: {
    50: '#e1de92',
    500: '#d0d162',
    950: '#000000',
  },
}
SCSS
$custom: #d0d162;
$custom-light: #e1de92;
$custom-dark: #000000;
JSON
{
  "hex": "#d0d162",
  "rgb": {
    "r": 208,
    "g": 209,
    "b": 98
  },
  "hsl": {
    "h": 60.541,
    "s": 54.68,
    "l": 60.196
  },
  "oklch": {
    "l": 0.83769,
    "c": 0.13406,
    "h": 109.4
  },
  "luminance": 0.59893
}

Semantic roles & 50–950 ramp

primary
#D0D162
secondary
#434295
accent
#23C225
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D0D162

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

Preview Lab → · Contrast checker → · Palette generator →

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