#DECA5F#DECA5F

#DECA5F is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.5% C 0.129 H 98.9°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#DECA5F
RGBrgb(222, 202, 95)
HSLhsl(51, 66%, 62%)
HSVhsv(51, 57%, 87%)
CMYKcmyk(0%, 9%, 57.2%, 12.9%)
CIE-LABlab(81.07, -6.06, 54.96)
CIE-LCHlch(81.07, 55.30, 96.29°)
OKLaboklab(83.48% -0.0199 0.1277)
OKLCHoklch(83.48% 0.129 98.9)
XYZxyz(53.3123, 58.5991, 19.3268)
Luminance0.5860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECA5F #5F73DE
analogous
#DE8B5F #DECA5F #B3DE5F
triadic
#DECA5F #5FDECA #CA5FDE
tetradic
#DECA5F #5FDE8B #5F73DE #DE5FB3
square
#DECA5F #5FDE8B #5F73DE #DE5FB3
split-complementary
#DECA5F #5FB3DE #8B5FDE
monochromatic
#A18D21 #D4B92C #DECA5F #E8DB92 #F3ECC4

Accessibility & contrast

On white

1.65
#DECA5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.72
#DECA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECA5F
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECA5F#FFFFFF#000000##000000
##DECA5F1.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC554
Deuteranopia (green-blind)
#E1CD64
Tritanopia (blue-blind)
#EEBDB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #deca5f;
/* rgb */ color: rgb(222, 202, 95);
/* oklch */ color: oklch(83.5% 0.129 98.9);
Tailwind
colors: {
  custom: {
    50: '#ebd990',
    500: '#deca5f',
    950: '#000000',
  },
}
SCSS
$custom: #deca5f;
$custom-light: #ebd990;
$custom-dark: #000000;
JSON
{
  "hex": "#deca5f",
  "rgb": {
    "r": 222,
    "g": 202,
    "b": 95
  },
  "hsl": {
    "h": 50.551,
    "s": 65.803,
    "l": 62.157
  },
  "oklch": {
    "l": 0.83476,
    "c": 0.12922,
    "h": 98.9
  },
  "luminance": 0.58597
}

Semantic roles & 50–950 ramp

primary
#DECA5F
secondary
#3D4DA4
accent
#34CE18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DECA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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