#DEC955#DEC955

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

Color values

HEX#DEC955
RGBrgb(222, 201, 85)
HSLhsl(51, 67%, 60%)
HSVhsv(51, 62%, 87%)
CMYKcmyk(0%, 9.5%, 61.7%, 12.9%)
CIE-LABlab(80.72, -6.24, 59.05)
CIE-LCHlch(80.72, 59.37, 96.03°)
OKLaboklab(83.17% -0.0216 0.1351)
OKLCHoklch(83.17% 0.137 99.1)
XYZxyz(52.6527, 57.9611, 17.0067)
Luminance0.5796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC955 #556ADE
analogous
#DE8455 #DEC955 #AEDE55
triadic
#DEC955 #55DEC9 #C955DE
tetradic
#DEC955 #55DE84 #556ADE #DE55AE
square
#DEC955 #55DE84 #556ADE #DE55AE
split-complementary
#DEC955 #55AEDE #8455DE
monochromatic
#9B871E #CEB428 #DEC955 #E8D988 #F2EABC

Accessibility & contrast

On white

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

On black

12.59
#DEC955 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC955
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC955#FFFFFF#000000##000000
##DEC9551.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC448
Deuteranopia (green-blind)
#E1CC5B
Tritanopia (blue-blind)
#EEBBB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dec955;
/* rgb */ color: rgb(222, 201, 85);
/* oklch */ color: oklch(83.2% 0.137 99.1);
Tailwind
colors: {
  custom: {
    50: '#ebd989',
    500: '#dec955',
    950: '#000000',
  },
}
SCSS
$custom: #dec955;
$custom-light: #ebd989;
$custom-dark: #000000;
JSON
{
  "hex": "#dec955",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 85
  },
  "hsl": {
    "h": 50.803,
    "s": 67.488,
    "l": 60.196
  },
  "oklch": {
    "l": 0.83165,
    "c": 0.13684,
    "h": 99.1
  },
  "luminance": 0.57959
}

Semantic roles & 50–950 ramp

primary
#DEC955
secondary
#39489E
accent
#33CF16
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC955

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

Preview Lab → · Contrast checker → · Palette generator →

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