#DEC057#DEC057

#DEC057 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.3% C 0.128 H 93.4°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#DEC057
RGBrgb(222, 192, 87)
HSLhsl(47, 67%, 61%)
HSVhsv(47, 61%, 87%)
CMYKcmyk(0%, 13.5%, 60.8%, 12.9%)
CIE-LABlab(78.41, -1.47, 55.62)
CIE-LCHlch(78.41, 55.64, 91.51°)
OKLaboklab(81.35% -0.0076 0.1281)
OKLCHoklch(81.35% 0.128 93.4)
XYZxyz(50.6964, 53.9196, 16.7522)
Luminance0.5392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC057 #5775DE
analogous
#DE7D57 #DEC057 #B8DE57
triadic
#DEC057 #57DEC0 #C057DE
tetradic
#DEC057 #57DE7D #5775DE #DE57B8
square
#DEC057 #57DE7D #5775DE #DE57B8
split-complementary
#DEC057 #57B8DE #7D57DE
monochromatic
#9C801F #CFAA29 #DEC057 #E8D38A #F2E6BD

Accessibility & contrast

On white

1.78
#DEC057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#DEC057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC057
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC057#FFFFFF#000000##000000
##DEC0571.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD4C
Deuteranopia (green-blind)
#DAC65C
Tritanopia (blue-blind)
#EFB2A9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dec057;
/* rgb */ color: rgb(222, 192, 87);
/* oklch */ color: oklch(81.3% 0.128 93.4);
Tailwind
colors: {
  custom: {
    50: '#ebd28a',
    500: '#dec057',
    950: '#000000',
  },
}
SCSS
$custom: #dec057;
$custom-light: #ebd28a;
$custom-dark: #000000;
JSON
{
  "hex": "#dec057",
  "rgb": {
    "r": 222,
    "g": 192,
    "b": 87
  },
  "hsl": {
    "h": 46.667,
    "s": 67.164,
    "l": 60.588
  },
  "oklch": {
    "l": 0.81349,
    "c": 0.12832,
    "h": 93.4
  },
  "luminance": 0.53917
}

Semantic roles & 50–950 ramp

primary
#DEC057
secondary
#3A50A0
accent
#3FCF16
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC057

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

Preview Lab → · Contrast checker → · Palette generator →

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