#DEC852#DEC852

#DEC852 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.9% C 0.138 H 98.7°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#DEC852
RGBrgb(222, 200, 82)
HSLhsl(51, 68%, 60%)
HSVhsv(51, 63%, 87%)
CMYKcmyk(0%, 9.9%, 63.1%, 12.9%)
CIE-LABlab(80.43, -5.92, 60.03)
CIE-LCHlch(80.43, 60.33, 95.63°)
OKLaboklab(82.93% -0.021 0.1368)
OKLCHoklch(82.93% 0.138 98.7)
XYZxyz(52.3037, 57.4497, 16.3149)
Luminance0.5745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC852 #5268DE
analogous
#DE8252 #DEC852 #AEDE52
triadic
#DEC852 #52DEC8 #C852DE
tetradic
#DEC852 #52DE82 #5268DE #DE52AE
square
#DEC852 #52DE82 #5268DE #DE52AE
split-complementary
#DEC852 #52AEDE #8252DE
monochromatic
#99851D #CCB227 #DEC852 #E8D885 #F2E9B9

Accessibility & contrast

On white

1.68
#DEC852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.49
#DEC852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC852
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC852#FFFFFF#000000##000000
##DEC8521.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC344
Deuteranopia (green-blind)
#E0CB58
Tritanopia (blue-blind)
#EEBAAF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dec852;
/* rgb */ color: rgb(222, 200, 82);
/* oklch */ color: oklch(82.9% 0.138 98.7);
Tailwind
colors: {
  custom: {
    50: '#ebd888',
    500: '#dec852',
    950: '#000000',
  },
}
SCSS
$custom: #dec852;
$custom-light: #ebd888;
$custom-dark: #000000;
JSON
{
  "hex": "#dec852",
  "rgb": {
    "r": 222,
    "g": 200,
    "b": 82
  },
  "hsl": {
    "h": 50.571,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82931,
    "c": 0.1384,
    "h": 98.7
  },
  "luminance": 0.57447
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DEC852

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

Preview Lab → · Contrast checker → · Palette generator →

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