#DEC758#DEC758

#DEC758 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.8% C 0.133 H 97.7°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#DEC758
RGBrgb(222, 199, 88)
HSLhsl(50, 67%, 61%)
HSVhsv(50, 60%, 87%)
CMYKcmyk(0%, 10.4%, 60.4%, 12.9%)
CIE-LABlab(80.23, -5.02, 57.18)
CIE-LCHlch(80.23, 57.40, 95.01°)
OKLaboklab(82.79% -0.0177 0.1316)
OKLCHoklch(82.79% 0.133 97.7)
XYZxyz(52.3112, 57.0834, 17.4934)
Luminance0.5708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC758 #586FDE
analogous
#DE8458 #DEC758 #B2DE58
triadic
#DEC758 #58DEC7 #C758DE
tetradic
#DEC758 #58DE84 #586FDE #DE58B2
square
#DEC758 #58DE84 #586FDE #DE58B2
split-complementary
#DEC758 #58B2DE #8458DE
monochromatic
#9D871F #D0B329 #DEC758 #E8D88B #F2E9BE

Accessibility & contrast

On white

1.69
#DEC758 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.42
#DEC758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC758
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC758#FFFFFF#000000##000000
##DEC7581.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C24C
Deuteranopia (green-blind)
#DFCA5D
Tritanopia (blue-blind)
#EEBAAF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dec758;
/* rgb */ color: rgb(222, 199, 88);
/* oklch */ color: oklch(82.8% 0.133 97.7);
Tailwind
colors: {
  custom: {
    50: '#ebd78b',
    500: '#dec758',
    950: '#000000',
  },
}
SCSS
$custom: #dec758;
$custom-light: #ebd78b;
$custom-dark: #000000;
JSON
{
  "hex": "#dec758",
  "rgb": {
    "r": 222,
    "g": 199,
    "b": 88
  },
  "hsl": {
    "h": 49.701,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.82785,
    "c": 0.13275,
    "h": 97.7
  },
  "luminance": 0.57081
}

Semantic roles & 50–950 ramp

primary
#DEC758
secondary
#3A4BA0
accent
#36CF17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC758

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

Preview Lab → · Contrast checker → · Palette generator →

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