#DEBC52#DEBC52

#DEBC52 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.5% C 0.130 H 91.4°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#DEBC52
RGBrgb(222, 188, 82)
HSLhsl(45, 68%, 60%)
HSVhsv(45, 63%, 87%)
CMYKcmyk(0%, 15.3%, 63.1%, 12.9%)
CIE-LABlab(77.35, 0.29, 56.68)
CIE-LCHlch(77.35, 56.68, 89.71°)
OKLaboklab(80.49% -0.0031 0.1297)
OKLCHoklch(80.49% 0.13 91.4)
XYZxyz(49.6328, 52.1079, 15.4246)
Luminance0.5211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEBC52 #5274DE
analogous
#DE7652 #DEBC52 #BADE52
triadic
#DEBC52 #52DEBC #BC52DE
tetradic
#DEBC52 #52DE76 #5274DE #DE52BA
square
#DEBC52 #52DE76 #5274DE #DE52BA
split-complementary
#DEBC52 #52BADE #7652DE
monochromatic
#997B1D #CCA427 #DEBC52 #E8D085 #F2E4B9

Accessibility & contrast

On white

1.84
#DEBC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#DEBC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEBC52
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEBC52#FFFFFF#000000##000000
##DEBC521.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB946
Deuteranopia (green-blind)
#D7C357
Tritanopia (blue-blind)
#EFAEA5
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #debc52;
/* rgb */ color: rgb(222, 188, 82);
/* oklch */ color: oklch(80.5% 0.130 91.4);
Tailwind
colors: {
  custom: {
    50: '#eccf87',
    500: '#debc52',
    950: '#000000',
  },
}
SCSS
$custom: #debc52;
$custom-light: #eccf87;
$custom-dark: #000000;
JSON
{
  "hex": "#debc52",
  "rgb": {
    "r": 222,
    "g": 188,
    "b": 82
  },
  "hsl": {
    "h": 45.429,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.8049,
    "c": 0.12972,
    "h": 91.4
  },
  "luminance": 0.52105
}

Semantic roles & 50–950 ramp

primary
#DEBC52
secondary
#38509D
accent
#67EB3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #DEBC52

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

Preview Lab → · Contrast checker → · Palette generator →

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