#DEC759#DEC759

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

Color values

HEX#DEC759
RGBrgb(222, 199, 89)
HSLhsl(50, 67%, 61%)
HSVhsv(50, 60%, 87%)
CMYKcmyk(0%, 10.4%, 59.9%, 12.9%)
CIE-LABlab(80.24, -4.95, 56.74)
CIE-LCHlch(80.24, 56.96, 94.98°)
OKLaboklab(82.8% -0.0174 0.1308)
OKLCHoklch(82.8% 0.132 97.6)
XYZxyz(52.3529, 57.1001, 17.7130)
Luminance0.5710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC759 #5970DE
analogous
#DE8459 #DEC759 #B2DE59
triadic
#DEC759 #59DEC7 #C759DE
tetradic
#DEC759 #59DE84 #5970DE #DE59B2
square
#DEC759 #59DE84 #5970DE #DE59B2
split-complementary
#DEC759 #59B2DE #8459DE
monochromatic
#9D881F #D0B429 #DEC759 #E8D88C #F2E9BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEC759#FFFFFF#000000##000000
##DEC7591.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)
#D9C34D
Deuteranopia (green-blind)
#DFCA5E
Tritanopia (blue-blind)
#EEBAAF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dec759;
/* rgb */ color: rgb(222, 199, 89);
/* oklch */ color: oklch(82.8% 0.132 97.6);
Tailwind
colors: {
  custom: {
    50: '#ebd78c',
    500: '#dec759',
    950: '#000000',
  },
}
SCSS
$custom: #dec759;
$custom-light: #ebd78c;
$custom-dark: #000000;
JSON
{
  "hex": "#dec759",
  "rgb": {
    "r": 222,
    "g": 199,
    "b": 89
  },
  "hsl": {
    "h": 49.624,
    "s": 66.834,
    "l": 60.98
  },
  "oklch": {
    "l": 0.82795,
    "c": 0.13191,
    "h": 97.6
  },
  "luminance": 0.57098
}

Semantic roles & 50–950 ramp

primary
#DEC759
secondary
#3A4CA1
accent
#37CF17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC759

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

Preview Lab → · Contrast checker → · Palette generator →

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