#DECB52#DECB52

#DECB52 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.5% C 0.141 H 100.4°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#DECB52
RGBrgb(222, 203, 82)
HSLhsl(52, 68%, 60%)
HSVhsv(52, 63%, 87%)
CMYKcmyk(0%, 8.6%, 63.1%, 12.9%)
CIE-LABlab(81.21, -7.45, 60.87)
CIE-LCHlch(81.21, 61.33, 96.98°)
OKLaboklab(83.55% -0.0254 0.1386)
OKLCHoklch(83.55% 0.141 100.4)
XYZxyz(53.0053, 58.8529, 16.5487)
Luminance0.5885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECB52 #5265DE
analogous
#DE8552 #DECB52 #ABDE52
triadic
#DECB52 #52DECB #CB52DE
tetradic
#DECB52 #52DE85 #5265DE #DE52AB
square
#DECB52 #52DE85 #5265DE #DE52AB
split-complementary
#DECB52 #52ABDE #8552DE
monochromatic
#99881D #CCB627 #DECB52 #E8DA85 #F2EAB9

Accessibility & contrast

On white

1.64
#DECB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.77
#DECB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECB52
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECB52#FFFFFF#000000##000000
##DECB521.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC644
Deuteranopia (green-blind)
#E2CD59
Tritanopia (blue-blind)
#EEBDB1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #decb52;
/* rgb */ color: rgb(222, 203, 82);
/* oklch */ color: oklch(83.5% 0.141 100.4);
Tailwind
colors: {
  custom: {
    50: '#ebda88',
    500: '#decb52',
    950: '#000000',
  },
}
SCSS
$custom: #decb52;
$custom-light: #ebda88;
$custom-dark: #000000;
JSON
{
  "hex": "#decb52",
  "rgb": {
    "r": 222,
    "g": 203,
    "b": 82
  },
  "hsl": {
    "h": 51.857,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83548,
    "c": 0.14088,
    "h": 100.4
  },
  "luminance": 0.58851
}

Semantic roles & 50–950 ramp

primary
#DECB52
secondary
#38459D
accent
#55EB3D
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DECB52

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

Preview Lab → · Contrast checker → · Palette generator →

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