#DEC95F#DEC95F

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

Color values

HEX#DEC95F
RGBrgb(222, 201, 95)
HSLhsl(50, 66%, 62%)
HSVhsv(50, 57%, 87%)
CMYKcmyk(0%, 9.5%, 57.2%, 12.9%)
CIE-LABlab(80.81, -5.55, 54.67)
CIE-LCHlch(80.81, 54.95, 95.79°)
OKLaboklab(83.27% -0.0184 0.127)
OKLCHoklch(83.27% 0.128 98.3)
XYZxyz(53.0784, 58.1314, 19.2489)
Luminance0.5813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC95F #5F74DE
analogous
#DE8A5F #DEC95F #B3DE5F
triadic
#DEC95F #5FDEC9 #C95FDE
tetradic
#DEC95F #5FDE8A #5F74DE #DE5FB3
square
#DEC95F #5FDE8A #5F74DE #DE5FB3
split-complementary
#DEC95F #5FB3DE #8A5FDE
monochromatic
#A18C21 #D4B82C #DEC95F #E8DA92 #F3EBC4

Accessibility & contrast

On white

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

On black

12.63
#DEC95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC95F
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC95F#FFFFFF#000000##000000
##DEC95F1.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC454
Deuteranopia (green-blind)
#E0CC64
Tritanopia (blue-blind)
#EEBCB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dec95f;
/* rgb */ color: rgb(222, 201, 95);
/* oklch */ color: oklch(83.3% 0.128 98.3);
Tailwind
colors: {
  custom: {
    50: '#ebd990',
    500: '#dec95f',
    950: '#000000',
  },
}
SCSS
$custom: #dec95f;
$custom-light: #ebd990;
$custom-dark: #000000;
JSON
{
  "hex": "#dec95f",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 95
  },
  "hsl": {
    "h": 50.079,
    "s": 65.803,
    "l": 62.157
  },
  "oklch": {
    "l": 0.8327,
    "c": 0.12837,
    "h": 98.3
  },
  "luminance": 0.58129
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DEC95F

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

Preview Lab → · Contrast checker → · Palette generator →

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