#DEC34A#DEC34A

#DEC34A is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.8% C 0.141 H 96.5°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#DEC34A
RGBrgb(222, 195, 74)
HSLhsl(49, 69%, 58%)
HSVhsv(49, 67%, 87%)
CMYKcmyk(0%, 12.2%, 66.7%, 12.9%)
CIE-LABlab(79.07, -3.83, 61.97)
CIE-LCHlch(79.07, 62.08, 93.53°)
OKLaboklab(81.83% -0.0159 0.1397)
OKLCHoklch(81.83% 0.141 96.5)
XYZxyz(50.8777, 55.0568, 14.4244)
Luminance0.5505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC34A #4A65DE
analogous
#DE794A #DEC34A #AFDE4A
triadic
#DEC34A #4ADEC3 #C34ADE
tetradic
#DEC34A #4ADE79 #4A65DE #DE4AAF
square
#DEC34A #4ADE79 #4A65DE #DE4AAF
split-complementary
#DEC34A #4AAFDE #794ADE
monochromatic
#937D1B #C7A924 #DEC34A #E7D47E #F1E5B2

Accessibility & contrast

On white

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

On black

12.01
#DEC34A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC34A
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC34A#FFFFFF#000000##000000
##DEC34A1.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF3A
Deuteranopia (green-blind)
#DDC850
Tritanopia (blue-blind)
#EFB5AA
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dec34a;
/* rgb */ color: rgb(222, 195, 74);
/* oklch */ color: oklch(81.8% 0.141 96.5);
Tailwind
colors: {
  custom: {
    50: '#ecd482',
    500: '#dec34a',
    950: '#000000',
  },
}
SCSS
$custom: #dec34a;
$custom-light: #ecd482;
$custom-dark: #000000;
JSON
{
  "hex": "#dec34a",
  "rgb": {
    "r": 222,
    "g": 195,
    "b": 74
  },
  "hsl": {
    "h": 49.054,
    "s": 69.159,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81834,
    "c": 0.14057,
    "h": 96.5
  },
  "luminance": 0.55054
}

Semantic roles & 50–950 ramp

primary
#DEC34A
secondary
#354798
accent
#5CEC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DEC34A

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

Preview Lab → · Contrast checker → · Palette generator →

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