#DEC058#DEC058

#DEC058 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.4% C 0.127 H 93.3°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#DEC058
RGBrgb(222, 192, 88)
HSLhsl(47, 67%, 61%)
HSVhsv(47, 60%, 87%)
CMYKcmyk(0%, 13.5%, 60.4%, 12.9%)
CIE-LABlab(78.42, -1.40, 55.17)
CIE-LCHlch(78.42, 55.19, 91.45°)
OKLaboklab(81.36% -0.0073 0.1273)
OKLCHoklch(81.36% 0.127 93.3)
XYZxyz(50.7375, 53.9360, 16.9688)
Luminance0.5393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC058 #5876DE
analogous
#DE7D58 #DEC058 #B9DE58
triadic
#DEC058 #58DEC0 #C058DE
tetradic
#DEC058 #58DE7D #5876DE #DE58B9
square
#DEC058 #58DE7D #5876DE #DE58B9
split-complementary
#DEC058 #58B9DE #7D58DE
monochromatic
#9D811F #D0AA29 #DEC058 #E8D38B #F2E7BE

Accessibility & contrast

On white

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

On black

11.79
#DEC058 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC058
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC058#FFFFFF#000000##000000
##DEC0581.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dec058;
/* rgb */ color: rgb(222, 192, 88);
/* oklch */ color: oklch(81.4% 0.127 93.3);
Tailwind
colors: {
  custom: {
    50: '#ebd28b',
    500: '#dec058',
    950: '#000000',
  },
}
SCSS
$custom: #dec058;
$custom-light: #ebd28b;
$custom-dark: #000000;
JSON
{
  "hex": "#dec058",
  "rgb": {
    "r": 222,
    "g": 192,
    "b": 88
  },
  "hsl": {
    "h": 46.567,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.8136,
    "c": 0.12748,
    "h": 93.3
  },
  "luminance": 0.53933
}

Semantic roles & 50–950 ramp

primary
#DEC058
secondary
#3A51A0
accent
#40CF17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC058

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

Preview Lab → · Contrast checker → · Palette generator →

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