#DEC34F#DEC34F

#DEC34F is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.9% C 0.137 H 96.1°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#DEC34F
RGBrgb(222, 195, 79)
HSLhsl(49, 68%, 59%)
HSVhsv(49, 64%, 87%)
CMYKcmyk(0%, 12.2%, 64.4%, 12.9%)
CIE-LABlab(79.11, -3.53, 59.91)
CIE-LCHlch(79.11, 60.01, 93.38°)
OKLaboklab(81.88% -0.0145 0.1361)
OKLCHoklch(81.88% 0.137 96.1)
XYZxyz(51.0529, 55.1268, 15.3470)
Luminance0.5512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC34F #4F6ADE
analogous
#DE7C4F #DEC34F #B2DE4F
triadic
#DEC34F #4FDEC3 #C34FDE
tetradic
#DEC34F #4FDE7C #4F6ADE #DE4FB2
square
#DEC34F #4FDE7C #4F6ADE #DE4FB2
split-complementary
#DEC34F #4FB2DE #7C4FDE
monochromatic
#967F1C #CAAB26 #DEC34F #E8D583 #F1E6B6

Accessibility & contrast

On white

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

On black

12.02
#DEC34F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC34F
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC34F#FFFFFF#000000##000000
##DEC34F1.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dec34f;
/* rgb */ color: rgb(222, 195, 79);
/* oklch */ color: oklch(81.9% 0.137 96.1);
Tailwind
colors: {
  custom: {
    50: '#ecd485',
    500: '#dec34f',
    950: '#000000',
  },
}
SCSS
$custom: #dec34f;
$custom-light: #ecd485;
$custom-dark: #000000;
JSON
{
  "hex": "#dec34f",
  "rgb": {
    "r": 222,
    "g": 195,
    "b": 79
  },
  "hsl": {
    "h": 48.671,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.81879,
    "c": 0.13686,
    "h": 96.1
  },
  "luminance": 0.55124
}

Semantic roles & 50–950 ramp

primary
#DEC34F
secondary
#37499B
accent
#5EEB3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DEC34F

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

Preview Lab → · Contrast checker → · Palette generator →

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