#D0CE78#D0CE78

#D0CE78 is a very light, moderate yellow. Relative luminance 0.589; OKLCH L 83.4% C 0.109 H 107.4°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#D0CE78
RGBrgb(208, 206, 120)
HSLhsl(59, 48%, 64%)
HSVhsv(59, 42%, 82%)
CMYKcmyk(0%, 1%, 42.3%, 18.4%)
CIE-LABlab(81.24, -11.59, 42.91)
CIE-LCHlch(81.24, 44.44, 105.11°)
OKLaboklab(83.43% -0.0324 0.1036)
OKLCHoklch(83.43% 0.109 107.4)
XYZxyz(51.4748, 58.9098, 26.4248)
Luminance0.5891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CE78 #787AD0
analogous
#D0A278 #D0CE78 #A6D078
triadic
#D0CE78 #78D0CE #CE78D0
tetradic
#D0CE78 #78D0A2 #787AD0 #D078A6
square
#D0CE78 #78D0A2 #787AD0 #D078A6
split-complementary
#D0CE78 #78A6D0 #A278D0
monochromatic
#999635 #C0BE4B #D0CE78 #E0DEA5 #F0EFD3

Accessibility & contrast

On white

1.64
#D0CE78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#D0CE78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CE78
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CE78#FFFFFF#000000##000000
##D0CE781.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC871
Deuteranopia (green-blind)
#DDCC7C
Tritanopia (blue-blind)
#DBC4B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d0ce78;
/* rgb */ color: rgb(208, 206, 120);
/* oklch */ color: oklch(83.4% 0.109 107.4);
Tailwind
colors: {
  custom: {
    50: '#e0dca0',
    500: '#d0ce78',
    950: '#000000',
  },
}
SCSS
$custom: #d0ce78;
$custom-light: #e0dca0;
$custom-dark: #000000;
JSON
{
  "hex": "#d0ce78",
  "rgb": {
    "r": 208,
    "g": 206,
    "b": 120
  },
  "hsl": {
    "h": 58.636,
    "s": 48.352,
    "l": 64.314
  },
  "oklch": {
    "l": 0.83425,
    "c": 0.10858,
    "h": 107.4
  },
  "luminance": 0.58909
}

Semantic roles & 50–950 ramp

primary
#D0CE78
secondary
#4E509E
accent
#2DBC2A
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #D0CE78

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

Preview Lab → · Contrast checker → · Palette generator →

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