#DEC259#DEC259

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

Color values

HEX#DEC259
RGBrgb(222, 194, 89)
HSLhsl(47, 67%, 61%)
HSVhsv(47, 60%, 87%)
CMYKcmyk(0%, 12.6%, 59.9%, 12.9%)
CIE-LABlab(78.95, -2.37, 55.30)
CIE-LCHlch(78.95, 55.35, 92.45°)
OKLaboklab(81.78% -0.01 0.1277)
OKLCHoklch(81.78% 0.128 94.5)
XYZxyz(51.2214, 54.8369, 17.3358)
Luminance0.5483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC259 #5975DE
analogous
#DE7F59 #DEC259 #B8DE59
triadic
#DEC259 #59DEC2 #C259DE
tetradic
#DEC259 #59DE7F #5975DE #DE59B8
square
#DEC259 #59DE7F #5975DE #DE59B8
split-complementary
#DEC259 #59B8DE #7F59DE
monochromatic
#9D831F #D0AD29 #DEC259 #E8D58C #F2E8BF

Accessibility & contrast

On white

1.75
#DEC259 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#DEC259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC259
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC259#FFFFFF#000000##000000
##DEC2591.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dec259;
/* rgb */ color: rgb(222, 194, 89);
/* oklch */ color: oklch(81.8% 0.128 94.5);
Tailwind
colors: {
  custom: {
    50: '#ebd48b',
    500: '#dec259',
    950: '#000000',
  },
}
SCSS
$custom: #dec259;
$custom-light: #ebd48b;
$custom-dark: #000000;
JSON
{
  "hex": "#dec259",
  "rgb": {
    "r": 222,
    "g": 194,
    "b": 89
  },
  "hsl": {
    "h": 47.368,
    "s": 66.834,
    "l": 60.98
  },
  "oklch": {
    "l": 0.81776,
    "c": 0.12807,
    "h": 94.5
  },
  "luminance": 0.54834
}

Semantic roles & 50–950 ramp

primary
#DEC259
secondary
#3A50A1
accent
#3ECF17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC259

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

Preview Lab → · Contrast checker → · Palette generator →

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