#DEC952#DEC952

#DEC952 is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 83.1% C 0.139 H 99.3°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#DEC952
RGBrgb(222, 201, 82)
HSLhsl(51, 68%, 60%)
HSVhsv(51, 63%, 87%)
CMYKcmyk(0%, 9.5%, 63.1%, 12.9%)
CIE-LABlab(80.69, -6.43, 60.31)
CIE-LCHlch(80.69, 60.66, 96.09°)
OKLaboklab(83.14% -0.0225 0.1374)
OKLCHoklch(83.14% 0.139 99.3)
XYZxyz(52.5360, 57.9144, 16.3923)
Luminance0.5791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC952 #5267DE
analogous
#DE8352 #DEC952 #ADDE52
triadic
#DEC952 #52DEC9 #C952DE
tetradic
#DEC952 #52DE83 #5267DE #DE52AD
square
#DEC952 #52DE83 #5267DE #DE52AD
split-complementary
#DEC952 #52ADDE #8352DE
monochromatic
#99861D #CCB327 #DEC952 #E8D985 #F2E9B9

Accessibility & contrast

On white

1.67
#DEC952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.58
#DEC952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC952
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC952#FFFFFF#000000##000000
##DEC9521.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC444
Deuteranopia (green-blind)
#E1CC58
Tritanopia (blue-blind)
#EEBBB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dec952;
/* rgb */ color: rgb(222, 201, 82);
/* oklch */ color: oklch(83.1% 0.139 99.3);
Tailwind
colors: {
  custom: {
    50: '#ebd988',
    500: '#dec952',
    950: '#000000',
  },
}
SCSS
$custom: #dec952;
$custom-light: #ebd988;
$custom-dark: #000000;
JSON
{
  "hex": "#dec952",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 82
  },
  "hsl": {
    "h": 51,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83136,
    "c": 0.13922,
    "h": 99.3
  },
  "luminance": 0.57912
}

Semantic roles & 50–950 ramp

primary
#DEC952
secondary
#38479D
accent
#57EB3D
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC952

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

Preview Lab → · Contrast checker → · Palette generator →

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