#DEC875#DEC875

#DEC875 is a very light, moderate yellow. Relative luminance 0.581; OKLCH L 83.4% C 0.106 H 95.0°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#DEC875
RGBrgb(222, 200, 117)
HSLhsl(47, 61%, 66%)
HSVhsv(47, 47%, 87%)
CMYKcmyk(0%, 9.9%, 47.3%, 12.9%)
CIE-LABlab(80.81, -3.18, 44.11)
CIE-LCHlch(80.81, 44.23, 94.13°)
OKLaboklab(83.35% -0.0092 0.106)
OKLCHoklch(83.35% 0.106 95)
XYZxyz(53.9910, 58.1246, 25.2014)
Luminance0.5812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC875 #758BDE
analogous
#DE9475 #DEC875 #C0DE75
triadic
#DEC875 #75DEC8 #C875DE
tetradic
#DEC875 #75DE94 #758BDE #DE75C0
square
#DEC875 #75DE94 #758BDE #DE75C0
split-complementary
#DEC875 #75C0DE #9475DE
monochromatic
#AF932A #D2B444 #DEC875 #EADCA6 #F6EFD8

Accessibility & contrast

On white

1.66
#DEC875 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#DEC875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC875
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC875#FFFFFF#000000##000000
##DEC8751.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C56E
Deuteranopia (green-blind)
#DDCC78
Tritanopia (blue-blind)
#ECBDB4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dec875;
/* rgb */ color: rgb(222, 200, 117);
/* oklch */ color: oklch(83.4% 0.106 95.0);
Tailwind
colors: {
  custom: {
    50: '#ead89e',
    500: '#dec875',
    950: '#000000',
  },
}
SCSS
$custom: #dec875;
$custom-light: #ead89e;
$custom-dark: #000000;
JSON
{
  "hex": "#dec875",
  "rgb": {
    "r": 222,
    "g": 200,
    "b": 117
  },
  "hsl": {
    "h": 47.429,
    "s": 61.404,
    "l": 66.471
  },
  "oklch": {
    "l": 0.8335,
    "c": 0.10637,
    "h": 95
  },
  "luminance": 0.58123
}

Semantic roles & 50–950 ramp

primary
#DEC875
secondary
#465DB1
accent
#41C91C
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DEC875

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

Preview Lab → · Contrast checker → · Palette generator →

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