#DEC95B#DEC95B

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

Color values

HEX#DEC95B
RGBrgb(222, 201, 91)
HSLhsl(50, 66%, 61%)
HSVhsv(50, 59%, 87%)
CMYKcmyk(0%, 9.5%, 59%, 12.9%)
CIE-LABlab(80.77, -5.83, 56.44)
CIE-LCHlch(80.77, 56.75, 95.90°)
OKLaboklab(83.23% -0.0197 0.1304)
OKLCHoklch(83.23% 0.132 98.6)
XYZxyz(52.9012, 58.0605, 18.3158)
Luminance0.5806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC95B #5B70DE
analogous
#DE885B #DEC95B #B2DE5B
triadic
#DEC95B #5BDEC9 #C95BDE
tetradic
#DEC95B #5BDE88 #5B70DE #DE5BB2
square
#DEC95B #5BDE88 #5B70DE #DE5BB2
split-complementary
#DEC95B #5BB2DE #885BDE
monochromatic
#9F8A20 #D2B72A #DEC95B #E8DA8E #F3EBC1

Accessibility & contrast

On white

1.67
#DEC95B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#DEC95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC95B
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC95B#FFFFFF#000000##000000
##DEC95B1.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC44F
Deuteranopia (green-blind)
#E0CC60
Tritanopia (blue-blind)
#EEBCB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dec95b;
/* rgb */ color: rgb(222, 201, 91);
/* oklch */ color: oklch(83.2% 0.132 98.6);
Tailwind
colors: {
  custom: {
    50: '#ebd98d',
    500: '#dec95b',
    950: '#000000',
  },
}
SCSS
$custom: #dec95b;
$custom-light: #ebd98d;
$custom-dark: #000000;
JSON
{
  "hex": "#dec95b",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 91
  },
  "hsl": {
    "h": 50.382,
    "s": 66.497,
    "l": 61.373
  },
  "oklch": {
    "l": 0.83227,
    "c": 0.13185,
    "h": 98.6
  },
  "luminance": 0.58058
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DEC95B

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

Preview Lab → · Contrast checker → · Palette generator →

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