#DEC258#DEC258

#DEC258 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.8% C 0.129 H 94.6°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#DEC258
RGBrgb(222, 194, 88)
HSLhsl(47, 67%, 61%)
HSVhsv(47, 60%, 87%)
CMYKcmyk(0%, 12.6%, 60.4%, 12.9%)
CIE-LABlab(78.94, -2.44, 55.75)
CIE-LCHlch(78.94, 55.80, 92.50°)
OKLaboklab(81.77% -0.0103 0.1285)
OKLCHoklch(81.77% 0.129 94.6)
XYZxyz(51.1797, 54.8203, 17.1162)
Luminance0.5482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC258 #5874DE
analogous
#DE7F58 #DEC258 #B7DE58
triadic
#DEC258 #58DEC2 #C258DE
tetradic
#DEC258 #58DE7F #5874DE #DE58B7
square
#DEC258 #58DE7F #5874DE #DE58B7
split-complementary
#DEC258 #58B7DE #7F58DE
monochromatic
#9D821F #D0AD29 #DEC258 #E8D58B #F2E7BE

Accessibility & contrast

On white

1.76
#DEC258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#DEC258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC258
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC258#FFFFFF#000000##000000
##DEC2581.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4D
Deuteranopia (green-blind)
#DBC75D
Tritanopia (blue-blind)
#EEB5AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dec258;
/* rgb */ color: rgb(222, 194, 88);
/* oklch */ color: oklch(81.8% 0.129 94.6);
Tailwind
colors: {
  custom: {
    50: '#ebd48b',
    500: '#dec258',
    950: '#000000',
  },
}
SCSS
$custom: #dec258;
$custom-light: #ebd48b;
$custom-dark: #000000;
JSON
{
  "hex": "#dec258",
  "rgb": {
    "r": 222,
    "g": 194,
    "b": 88
  },
  "hsl": {
    "h": 47.463,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.81765,
    "c": 0.12891,
    "h": 94.6
  },
  "luminance": 0.54818
}

Semantic roles & 50–950 ramp

primary
#DEC258
secondary
#3A4FA0
accent
#3DCF17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC258

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

Preview Lab → · Contrast checker → · Palette generator →

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