#D0D331#D0D331

#D0D331 is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 83.8% C 0.171 H 110.7°. Best body text is #000000 at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#D0D331
RGBrgb(208, 211, 49)
HSLhsl(61, 65%, 51%)
HSVhsv(61, 77%, 83%)
CMYKcmyk(1.4%, 0%, 76.8%, 17.3%)
CIE-LABlab(81.96, -18.98, 73.27)
CIE-LCHlch(81.96, 75.68, 104.52°)
OKLaboklab(83.8% -0.0603 0.1597)
OKLCHoklch(83.8% 0.171 110.7)
XYZxyz(49.8629, 60.2216, 11.9024)
Luminance0.6022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0D331 #3431D3
analogous
#D38531 #D0D331 #7FD331
triadic
#D0D331 #31D0D3 #D331D0
tetradic
#D0D331 #31D385 #3431D3 #D3317F
square
#D0D331 #31D385 #3431D3 #D3317F
split-complementary
#D0D331 #317FD3 #8531D3
monochromatic
#707118 #A1A423 #D0D331 #DCDE63 #E7E996

Accessibility & contrast

On white

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

On black

13.04
#D0D331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0D331
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0D331#FFFFFF#000000##000000
##D0D3311.001.6113.0413.04
#FFFFFF1.611.0021.0021.00
#00000013.0421.001.001.00
##00000013.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CA00
Deuteranopia (green-blind)
#E5CE3F
Tritanopia (blue-blind)
#DFC5B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d0d331;
/* rgb */ color: rgb(208, 211, 49);
/* oklch */ color: oklch(83.8% 0.171 110.7);
Tailwind
colors: {
  custom: {
    50: '#e2e077',
    500: '#d0d331',
    950: '#000000',
  },
}
SCSS
$custom: #d0d331;
$custom-light: #e2e077;
$custom-dark: #000000;
JSON
{
  "hex": "#d0d331",
  "rgb": {
    "r": 208,
    "g": 211,
    "b": 49
  },
  "hsl": {
    "h": 61.111,
    "s": 64.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.83797,
    "c": 0.17073,
    "h": 110.7
  },
  "luminance": 0.6022
}

Semantic roles & 50–950 ramp

primary
#D0D331
secondary
#2F2E7A
accent
#40E843
background
#FEFEFB
surface
#FDFCF1
border
#D5D5CB
text
#16150A
muted
#84847D

Preview Lab

Preview with #D0D331

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

Preview Lab → · Contrast checker → · Palette generator →

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