#DEC752#DEC752

#DEC752 is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.7% C 0.138 H 98.2°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#DEC752
RGBrgb(222, 199, 82)
HSLhsl(50, 68%, 60%)
HSVhsv(50, 63%, 87%)
CMYKcmyk(0%, 10.4%, 63.1%, 12.9%)
CIE-LABlab(80.17, -5.41, 59.75)
CIE-LCHlch(80.17, 60.00, 95.17°)
OKLaboklab(82.73% -0.0195 0.1362)
OKLCHoklch(82.73% 0.138 98.2)
XYZxyz(52.0728, 56.9880, 16.2379)
Luminance0.5699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC752 #5269DE
analogous
#DE8152 #DEC752 #AFDE52
triadic
#DEC752 #52DEC7 #C752DE
tetradic
#DEC752 #52DE81 #5269DE #DE52AF
square
#DEC752 #52DE81 #5269DE #DE52AF
split-complementary
#DEC752 #52AFDE #8152DE
monochromatic
#99841D #CCB127 #DEC752 #E8D885 #F2E8B9

Accessibility & contrast

On white

1.69
#DEC752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.40
#DEC752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC752
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC752#FFFFFF#000000##000000
##DEC7521.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C244
Deuteranopia (green-blind)
#DFCA58
Tritanopia (blue-blind)
#EEB9AE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dec752;
/* rgb */ color: rgb(222, 199, 82);
/* oklch */ color: oklch(82.7% 0.138 98.2);
Tailwind
colors: {
  custom: {
    50: '#ebd787',
    500: '#dec752',
    950: '#000000',
  },
}
SCSS
$custom: #dec752;
$custom-light: #ebd787;
$custom-dark: #000000;
JSON
{
  "hex": "#dec752",
  "rgb": {
    "r": 222,
    "g": 199,
    "b": 82
  },
  "hsl": {
    "h": 50.143,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82725,
    "c": 0.1376,
    "h": 98.2
  },
  "luminance": 0.56986
}

Semantic roles & 50–950 ramp

primary
#DEC752
secondary
#38489D
accent
#5AEB3D
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC752

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

Preview Lab → · Contrast checker → · Palette generator →

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