#DEC95D#DEC95D

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

Color values

HEX#DEC95D
RGBrgb(222, 201, 93)
HSLhsl(50, 66%, 62%)
HSVhsv(50, 58%, 87%)
CMYKcmyk(0%, 9.5%, 58.1%, 12.9%)
CIE-LABlab(80.79, -5.69, 55.56)
CIE-LCHlch(80.79, 55.85, 95.85°)
OKLaboklab(83.25% -0.0191 0.1287)
OKLCHoklch(83.25% 0.13 98.4)
XYZxyz(52.9887, 58.0955, 18.7762)
Luminance0.5809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC95D #5D72DE
analogous
#DE895D #DEC95D #B2DE5D
triadic
#DEC95D #5DDEC9 #C95DDE
tetradic
#DEC95D #5DDE89 #5D72DE #DE5DB2
square
#DEC95D #5DDE89 #5D72DE #DE5DB2
split-complementary
#DEC95D #5DB2DE #895DDE
monochromatic
#A08B21 #D3B82B #DEC95D #E8DA90 #F3EBC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEC95D#FFFFFF#000000##000000
##DEC95D1.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)
#DAC452
Deuteranopia (green-blind)
#E0CC62
Tritanopia (blue-blind)
#EEBCB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dec95d;
/* rgb */ color: rgb(222, 201, 93);
/* oklch */ color: oklch(83.2% 0.130 98.4);
Tailwind
colors: {
  custom: {
    50: '#ebd98e',
    500: '#dec95d',
    950: '#000000',
  },
}
SCSS
$custom: #dec95d;
$custom-light: #ebd98e;
$custom-dark: #000000;
JSON
{
  "hex": "#dec95d",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 93
  },
  "hsl": {
    "h": 50.233,
    "s": 66.154,
    "l": 61.765
  },
  "oklch": {
    "l": 0.83248,
    "c": 0.13012,
    "h": 98.4
  },
  "luminance": 0.58093
}

Semantic roles & 50–950 ramp

primary
#DEC95D
secondary
#3C4DA3
accent
#35CE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DEC95D

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

Preview Lab → · Contrast checker → · Palette generator →

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