#D0C381#D0C381

#D0C381 is a light, moderate yellow. Relative luminance 0.540; OKLCH L 81.3% C 0.087 H 98.4°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#D0C381
RGBrgb(208, 195, 129)
HSLhsl(50, 46%, 66%)
HSVhsv(50, 38%, 82%)
CMYKcmyk(0%, 6.3%, 38%, 18.4%)
CIE-LABlab(78.48, -4.98, 34.83)
CIE-LCHlch(78.48, 35.18, 98.13°)
OKLaboklab(81.27% -0.0127 0.0857)
OKLCHoklch(81.27% 0.087 98.4)
XYZxyz(49.4909, 54.0265, 28.5858)
Luminance0.5403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C381 #818ED0
analogous
#D09B81 #D0C381 #B5D081
triadic
#D0C381 #81D0C3 #C381D0
tetradic
#D0C381 #81D09B #818ED0 #D081B5
square
#D0C381 #81D09B #818ED0 #D081B5
split-complementary
#D0C381 #81B5D0 #9B81D0
monochromatic
#9C8C3A #BFAE54 #D0C381 #E1D8AE #F1EDDA

Accessibility & contrast

On white

1.78
#D0C381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#D0C381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C381
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C381#FFFFFF#000000##000000
##D0C3811.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBF7C
Deuteranopia (green-blind)
#D3C483
Tritanopia (blue-blind)
#DBBAB2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d0c381;
/* rgb */ color: rgb(208, 195, 129);
/* oklch */ color: oklch(81.3% 0.087 98.4);
Tailwind
colors: {
  custom: {
    50: '#dfd5a6',
    500: '#d0c381',
    950: '#000000',
  },
}
SCSS
$custom: #d0c381;
$custom-light: #dfd5a6;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c381",
  "rgb": {
    "r": 208,
    "g": 195,
    "b": 129
  },
  "hsl": {
    "h": 50.127,
    "s": 45.665,
    "l": 66.078
  },
  "oklch": {
    "l": 0.81274,
    "c": 0.08662,
    "h": 98.4
  },
  "luminance": 0.54025
}

Semantic roles & 50–950 ramp

primary
#D0C381
secondary
#5360A2
accent
#44B92D
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #D0C381

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

Preview Lab → · Contrast checker → · Palette generator →

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