#DECA4D#DECA4D

#DECA4D is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.3% C 0.144 H 100.1°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#DECA4D
RGBrgb(222, 202, 77)
HSLhsl(52, 69%, 59%)
HSVhsv(52, 65%, 87%)
CMYKcmyk(0%, 9%, 65.3%, 12.9%)
CIE-LABlab(80.91, -7.25, 62.65)
CIE-LCHlch(80.91, 63.07, 96.60°)
OKLaboklab(83.3% -0.0253 0.1416)
OKLCHoklch(83.3% 0.144 100.1)
XYZxyz(52.5865, 58.3088, 15.5045)
Luminance0.5831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECA4D #4D61DE
analogous
#DE814D #DECA4D #A9DE4D
triadic
#DECA4D #4DDECA #CA4DDE
tetradic
#DECA4D #4DDE81 #4D61DE #DE4DA9
square
#DECA4D #4DDE81 #4D61DE #DE4DA9
split-complementary
#DECA4D #4DA9DE #814DDE
monochromatic
#95841C #C9B225 #DECA4D #E8D981 #F1E9B4

Accessibility & contrast

On white

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

On black

12.66
#DECA4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECA4D
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECA4D#FFFFFF#000000##000000
##DECA4D1.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC53D
Deuteranopia (green-blind)
#E2CC54
Tritanopia (blue-blind)
#EEBCB0
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #deca4d;
/* rgb */ color: rgb(222, 202, 77);
/* oklch */ color: oklch(83.3% 0.144 100.1);
Tailwind
colors: {
  custom: {
    50: '#ecd985',
    500: '#deca4d',
    950: '#000000',
  },
}
SCSS
$custom: #deca4d;
$custom-light: #ecd985;
$custom-dark: #000000;
JSON
{
  "hex": "#deca4d",
  "rgb": {
    "r": 222,
    "g": 202,
    "b": 77
  },
  "hsl": {
    "h": 51.724,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.83297,
    "c": 0.14384,
    "h": 100.1
  },
  "luminance": 0.58306
}

Semantic roles & 50–950 ramp

primary
#DECA4D
secondary
#364499
accent
#54EC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DECA4D

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

Preview Lab → · Contrast checker → · Palette generator →

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