#D0C388#D0C388

#D0C388 is a light, moderate yellow. Relative luminance 0.542; OKLCH L 81.4% C 0.078 H 97.2°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#D0C388
RGBrgb(208, 195, 136)
HSLhsl(49, 43%, 67%)
HSVhsv(49, 35%, 82%)
CMYKcmyk(0%, 6.3%, 34.6%, 18.4%)
CIE-LABlab(78.59, -4.16, 31.34)
CIE-LCHlch(78.59, 31.62, 97.56°)
OKLaboklab(81.4% -0.0099 0.0778)
OKLCHoklch(81.4% 0.078 97.2)
XYZxyz(49.9722, 54.2191, 31.1207)
Luminance0.5422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C388 #8895D0
analogous
#D09F88 #D0C388 #B9D088
triadic
#D0C388 #88D0C3 #C388D0
tetradic
#D0C388 #88D09F #8895D0 #D088B9
square
#D0C388 #88D09F #8895D0 #D088B9
split-complementary
#D0C388 #88B9D0 #9F88D0
monochromatic
#9F8E3F #BFAD5C #D0C388 #E1D9B4 #F3EFE0

Accessibility & contrast

On white

1.77
#D0C388 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#D0C388 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C388
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C388#FFFFFF#000000##000000
##D0C3881.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEC084
Deuteranopia (green-blind)
#D2C58A
Tritanopia (blue-blind)
#DBBBB4
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d0c388;
/* rgb */ color: rgb(208, 195, 136);
/* oklch */ color: oklch(81.4% 0.078 97.2);
Tailwind
colors: {
  custom: {
    50: '#dfd5ab',
    500: '#d0c388',
    950: '#000000',
  },
}
SCSS
$custom: #d0c388;
$custom-light: #dfd5ab;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c388",
  "rgb": {
    "r": 208,
    "g": 195,
    "b": 136
  },
  "hsl": {
    "h": 49.167,
    "s": 43.373,
    "l": 67.451
  },
  "oklch": {
    "l": 0.814,
    "c": 0.07846,
    "h": 97.2
  },
  "luminance": 0.54218
}

Semantic roles & 50–950 ramp

primary
#D0C388
secondary
#5866A4
accent
#47B62F
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #D0C388

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

Preview Lab → · Contrast checker → · Palette generator →

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