#DECC5F#DECC5F

#DECC5F is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.9% C 0.131 H 100.0°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#DECC5F
RGBrgb(222, 204, 95)
HSLhsl(51, 66%, 62%)
HSVhsv(51, 57%, 87%)
CMYKcmyk(0%, 8.1%, 57.2%, 12.9%)
CIE-LABlab(81.59, -7.08, 55.55)
CIE-LCHlch(81.59, 56.00, 97.26°)
OKLaboklab(83.89% -0.0228 0.1289)
OKLCHoklch(83.89% 0.131 100)
XYZxyz(53.7846, 59.5437, 19.4842)
Luminance0.5954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECC5F #5F71DE
analogous
#DE8D5F #DECC5F #B1DE5F
triadic
#DECC5F #5FDECC #CC5FDE
tetradic
#DECC5F #5FDE8D #5F71DE #DE5FB1
square
#DECC5F #5FDE8D #5F71DE #DE5FB1
split-complementary
#DECC5F #5FB1DE #8D5FDE
monochromatic
#A18F21 #D4BC2C #DECC5F #E8DC92 #F3ECC4

Accessibility & contrast

On white

1.63
#DECC5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#DECC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECC5F
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECC5F#FFFFFF#000000##000000
##DECC5F1.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC754
Deuteranopia (green-blind)
#E2CE64
Tritanopia (blue-blind)
#EDBFB4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #decc5f;
/* rgb */ color: rgb(222, 204, 95);
/* oklch */ color: oklch(83.9% 0.131 100.0);
Tailwind
colors: {
  custom: {
    50: '#ebdb90',
    500: '#decc5f',
    950: '#000000',
  },
}
SCSS
$custom: #decc5f;
$custom-light: #ebdb90;
$custom-dark: #000000;
JSON
{
  "hex": "#decc5f",
  "rgb": {
    "r": 222,
    "g": 204,
    "b": 95
  },
  "hsl": {
    "h": 51.496,
    "s": 65.803,
    "l": 62.157
  },
  "oklch": {
    "l": 0.83887,
    "c": 0.13095,
    "h": 100
  },
  "luminance": 0.59542
}

Semantic roles & 50–950 ramp

primary
#DECC5F
secondary
#3D4BA4
accent
#32CE18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DECC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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