#DEC857#DEC857

#DEC857 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 83.0% C 0.134 H 98.3°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#DEC857
RGBrgb(222, 200, 87)
HSLhsl(50, 67%, 61%)
HSVhsv(50, 61%, 87%)
CMYKcmyk(0%, 9.9%, 60.8%, 12.9%)
CIE-LABlab(80.48, -5.60, 57.90)
CIE-LCHlch(80.48, 58.17, 95.52°)
OKLaboklab(82.98% -0.0195 0.133)
OKLCHoklch(82.98% 0.134 98.3)
XYZxyz(52.5009, 57.5286, 17.3537)
Luminance0.5753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC857 #576DDE
analogous
#DE8457 #DEC857 #B0DE57
triadic
#DEC857 #57DEC8 #C857DE
tetradic
#DEC857 #57DE84 #576DDE #DE57B0
square
#DEC857 #57DE84 #576DDE #DE57B0
split-complementary
#DEC857 #57B0DE #8457DE
monochromatic
#9C881F #CFB429 #DEC857 #E8D98A #F2E9BD

Accessibility & contrast

On white

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

On black

12.51
#DEC857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC857
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC857#FFFFFF#000000##000000
##DEC8571.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dec857;
/* rgb */ color: rgb(222, 200, 87);
/* oklch */ color: oklch(83.0% 0.134 98.3);
Tailwind
colors: {
  custom: {
    50: '#ebd88b',
    500: '#dec857',
    950: '#000000',
  },
}
SCSS
$custom: #dec857;
$custom-light: #ebd88b;
$custom-dark: #000000;
JSON
{
  "hex": "#dec857",
  "rgb": {
    "r": 222,
    "g": 200,
    "b": 87
  },
  "hsl": {
    "h": 50.222,
    "s": 67.164,
    "l": 60.588
  },
  "oklch": {
    "l": 0.8298,
    "c": 0.13439,
    "h": 98.3
  },
  "luminance": 0.57526
}

Semantic roles & 50–950 ramp

primary
#DEC857
secondary
#3A4AA0
accent
#35CF16
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC857

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

Preview Lab → · Contrast checker → · Palette generator →

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