#DEC95E#DEC95E

#DEC95E is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.3% C 0.129 H 98.3°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#DEC95E
RGBrgb(222, 201, 94)
HSLhsl(50, 66%, 62%)
HSVhsv(50, 58%, 87%)
CMYKcmyk(0%, 9.5%, 57.7%, 12.9%)
CIE-LABlab(80.80, -5.62, 55.12)
CIE-LCHlch(80.80, 55.40, 95.82°)
OKLaboklab(83.26% -0.0187 0.1279)
OKLCHoklch(83.26% 0.129 98.3)
XYZxyz(53.0332, 58.1133, 19.0110)
Luminance0.5811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC95E #5E73DE
analogous
#DE895E #DEC95E #B3DE5E
triadic
#DEC95E #5EDEC9 #C95EDE
tetradic
#DEC95E #5EDE89 #5E73DE #DE5EB3
square
#DEC95E #5EDE89 #5E73DE #DE5EB3
split-complementary
#DEC95E #5EB3DE #895EDE
monochromatic
#A18C21 #D3B82B #DEC95E #E8DA91 #F3EBC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEC95E#FFFFFF#000000##000000
##DEC95E1.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)
#DAC453
Deuteranopia (green-blind)
#E0CC63
Tritanopia (blue-blind)
#EEBCB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dec95e;
/* rgb */ color: rgb(222, 201, 94);
/* oklch */ color: oklch(83.3% 0.129 98.3);
Tailwind
colors: {
  custom: {
    50: '#ebd98f',
    500: '#dec95e',
    950: '#000000',
  },
}
SCSS
$custom: #dec95e;
$custom-light: #ebd98f;
$custom-dark: #000000;
JSON
{
  "hex": "#dec95e",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 94
  },
  "hsl": {
    "h": 50.156,
    "s": 65.979,
    "l": 61.961
  },
  "oklch": {
    "l": 0.83259,
    "c": 0.12926,
    "h": 98.3
  },
  "luminance": 0.58111
}

Semantic roles & 50–950 ramp

primary
#DEC95E
secondary
#3C4DA4
accent
#36CE18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DEC95E

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

Preview Lab → · Contrast checker → · Palette generator →

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