#DEC958#DEC958

#DEC958 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 83.2% C 0.134 H 98.8°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#DEC958
RGBrgb(222, 201, 88)
HSLhsl(51, 67%, 61%)
HSVhsv(51, 60%, 87%)
CMYKcmyk(0%, 9.5%, 60.4%, 12.9%)
CIE-LABlab(80.74, -6.04, 57.76)
CIE-LCHlch(80.74, 58.07, 95.97°)
OKLaboklab(83.2% -0.0207 0.1328)
OKLCHoklch(83.2% 0.134 98.8)
XYZxyz(52.7744, 58.0098, 17.6478)
Luminance0.5801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC958 #586DDE
analogous
#DE8658 #DEC958 #B0DE58
triadic
#DEC958 #58DEC9 #C958DE
tetradic
#DEC958 #58DE86 #586DDE #DE58B0
square
#DEC958 #58DE86 #586DDE #DE58B0
split-complementary
#DEC958 #58B0DE #8658DE
monochromatic
#9D891F #D0B629 #DEC958 #E8DA8B #F2EABE

Accessibility & contrast

On white

1.67
#DEC958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#DEC958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC958
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC958#FFFFFF#000000##000000
##DEC9581.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC44C
Deuteranopia (green-blind)
#E0CC5E
Tritanopia (blue-blind)
#EEBCB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dec958;
/* rgb */ color: rgb(222, 201, 88);
/* oklch */ color: oklch(83.2% 0.134 98.8);
Tailwind
colors: {
  custom: {
    50: '#ebd98b',
    500: '#dec958',
    950: '#000000',
  },
}
SCSS
$custom: #dec958;
$custom-light: #ebd98b;
$custom-dark: #000000;
JSON
{
  "hex": "#dec958",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 88
  },
  "hsl": {
    "h": 50.597,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.83195,
    "c": 0.13438,
    "h": 98.8
  },
  "luminance": 0.58007
}

Semantic roles & 50–950 ramp

primary
#DEC958
secondary
#3A4AA0
accent
#33CF17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC958

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

Preview Lab → · Contrast checker → · Palette generator →

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