#DEC95A#DEC95A

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

Color values

HEX#DEC95A
RGBrgb(222, 201, 90)
HSLhsl(50, 67%, 61%)
HSVhsv(50, 59%, 87%)
CMYKcmyk(0%, 9.5%, 59.5%, 12.9%)
CIE-LABlab(80.76, -5.90, 56.88)
CIE-LCHlch(80.76, 57.19, 95.93°)
OKLaboklab(83.22% -0.02 0.1312)
OKLCHoklch(83.22% 0.133 98.7)
XYZxyz(52.8584, 58.0433, 18.0901)
Luminance0.5804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC95A #5A6FDE
analogous
#DE875A #DEC95A #B1DE5A
triadic
#DEC95A #5ADEC9 #C95ADE
tetradic
#DEC95A #5ADE87 #5A6FDE #DE5AB1
square
#DEC95A #5ADE87 #5A6FDE #DE5AB1
split-complementary
#DEC95A #5AB1DE #875ADE
monochromatic
#9E8A20 #D1B62A #DEC95A #E8DA8D #F2EAC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEC95A#FFFFFF#000000##000000
##DEC95A1.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)
#DBC44E
Deuteranopia (green-blind)
#E0CC5F
Tritanopia (blue-blind)
#EEBCB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dec95a;
/* rgb */ color: rgb(222, 201, 90);
/* oklch */ color: oklch(83.2% 0.133 98.7);
Tailwind
colors: {
  custom: {
    50: '#ebd98d',
    500: '#dec95a',
    950: '#000000',
  },
}
SCSS
$custom: #dec95a;
$custom-light: #ebd98d;
$custom-dark: #000000;
JSON
{
  "hex": "#dec95a",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 90
  },
  "hsl": {
    "h": 50.455,
    "s": 66.667,
    "l": 61.176
  },
  "oklch": {
    "l": 0.83216,
    "c": 0.1327,
    "h": 98.7
  },
  "luminance": 0.58041
}

Semantic roles & 50–950 ramp

primary
#DEC95A
secondary
#3B4BA1
accent
#34CF17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC95A

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

Preview Lab → · Contrast checker → · Palette generator →

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