#DEC95C#DEC95C

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

Color values

HEX#DEC95C
RGBrgb(222, 201, 92)
HSLhsl(50, 66%, 62%)
HSVhsv(50, 59%, 87%)
CMYKcmyk(0%, 9.5%, 58.6%, 12.9%)
CIE-LABlab(80.78, -5.76, 56.00)
CIE-LCHlch(80.78, 56.30, 95.88°)
OKLaboklab(83.24% -0.0194 0.1296)
OKLCHoklch(83.24% 0.131 98.5)
XYZxyz(52.9447, 58.0779, 18.5445)
Luminance0.5808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC95C #5C71DE
analogous
#DE885C #DEC95C #B2DE5C
triadic
#DEC95C #5CDEC9 #C95CDE
tetradic
#DEC95C #5CDE88 #5C71DE #DE5CB2
square
#DEC95C #5CDE88 #5C71DE #DE5CB2
split-complementary
#DEC95C #5CB2DE #885CDE
monochromatic
#9F8B20 #D2B72B #DEC95C #E8DA8F #F3EBC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEC95C#FFFFFF#000000##000000
##DEC95C1.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)
#DAC451
Deuteranopia (green-blind)
#E0CC61
Tritanopia (blue-blind)
#EEBCB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dec95c;
/* rgb */ color: rgb(222, 201, 92);
/* oklch */ color: oklch(83.2% 0.131 98.5);
Tailwind
colors: {
  custom: {
    50: '#ebd98e',
    500: '#dec95c',
    950: '#000000',
  },
}
SCSS
$custom: #dec95c;
$custom-light: #ebd98e;
$custom-dark: #000000;
JSON
{
  "hex": "#dec95c",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 92
  },
  "hsl": {
    "h": 50.308,
    "s": 66.327,
    "l": 61.569
  },
  "oklch": {
    "l": 0.83237,
    "c": 0.13099,
    "h": 98.5
  },
  "luminance": 0.58076
}

Semantic roles & 50–950 ramp

primary
#DEC95C
secondary
#3C4CA3
accent
#35CE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC95C

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

Preview Lab → · Contrast checker → · Palette generator →

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