#DEC25A#DEC25A

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

Color values

HEX#DEC25A
RGBrgb(222, 194, 90)
HSLhsl(47, 67%, 61%)
HSVhsv(47, 59%, 87%)
CMYKcmyk(0%, 12.6%, 59.5%, 12.9%)
CIE-LABlab(78.96, -2.30, 54.86)
CIE-LCHlch(78.96, 54.91, 92.40°)
OKLaboklab(81.79% -0.0096 0.1269)
OKLCHoklch(81.79% 0.127 94.4)
XYZxyz(51.2636, 54.8538, 17.5585)
Luminance0.5485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC25A #5A76DE
analogous
#DE805A #DEC25A #B8DE5A
triadic
#DEC25A #5ADEC2 #C25ADE
tetradic
#DEC25A #5ADE80 #5A76DE #DE5AB8
square
#DEC25A #5ADE80 #5A76DE #DE5AB8
split-complementary
#DEC25A #5AB8DE #805ADE
monochromatic
#9E8320 #D1AE2A #DEC25A #E8D58D #F2E8C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEC25A#FFFFFF#000000##000000
##DEC25A1.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)
#D4BF4F
Deuteranopia (green-blind)
#DBC75F
Tritanopia (blue-blind)
#EEB5AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dec25a;
/* rgb */ color: rgb(222, 194, 90);
/* oklch */ color: oklch(81.8% 0.127 94.4);
Tailwind
colors: {
  custom: {
    50: '#ebd48c',
    500: '#dec25a',
    950: '#000000',
  },
}
SCSS
$custom: #dec25a;
$custom-light: #ebd48c;
$custom-dark: #000000;
JSON
{
  "hex": "#dec25a",
  "rgb": {
    "r": 222,
    "g": 194,
    "b": 90
  },
  "hsl": {
    "h": 47.273,
    "s": 66.667,
    "l": 61.176
  },
  "oklch": {
    "l": 0.81787,
    "c": 0.12722,
    "h": 94.4
  },
  "luminance": 0.54851
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DEC25A

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

Preview Lab → · Contrast checker → · Palette generator →

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