#DEC25B#DEC25B

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

Color values

HEX#DEC25B
RGBrgb(222, 194, 91)
HSLhsl(47, 66%, 61%)
HSVhsv(47, 59%, 87%)
CMYKcmyk(0%, 12.6%, 59%, 12.9%)
CIE-LABlab(78.97, -2.23, 54.41)
CIE-LCHlch(78.97, 54.46, 92.34°)
OKLaboklab(81.8% -0.0093 0.126)
OKLCHoklch(81.8% 0.126 94.2)
XYZxyz(51.3065, 54.8710, 17.7842)
Luminance0.5487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC25B #5B77DE
analogous
#DE815B #DEC25B #B8DE5B
triadic
#DEC25B #5BDEC2 #C25BDE
tetradic
#DEC25B #5BDE81 #5B77DE #DE5BB8
square
#DEC25B #5BDE81 #5B77DE #DE5BB8
split-complementary
#DEC25B #5BB8DE #815BDE
monochromatic
#9F8420 #D2AE2A #DEC25B #E8D58E #F3E8C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEC25B#FFFFFF#000000##000000
##DEC25B1.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)
#D4BF51
Deuteranopia (green-blind)
#DBC760
Tritanopia (blue-blind)
#EEB5AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dec25b;
/* rgb */ color: rgb(222, 194, 91);
/* oklch */ color: oklch(81.8% 0.126 94.2);
Tailwind
colors: {
  custom: {
    50: '#ebd48d',
    500: '#dec25b',
    950: '#000000',
  },
}
SCSS
$custom: #dec25b;
$custom-light: #ebd48d;
$custom-dark: #000000;
JSON
{
  "hex": "#dec25b",
  "rgb": {
    "r": 222,
    "g": 194,
    "b": 91
  },
  "hsl": {
    "h": 47.176,
    "s": 66.497,
    "l": 61.373
  },
  "oklch": {
    "l": 0.81798,
    "c": 0.12635,
    "h": 94.2
  },
  "luminance": 0.54868
}

Semantic roles & 50–950 ramp

primary
#DEC25B
secondary
#3B51A2
accent
#3ECE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC25B

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

Preview Lab → · Contrast checker → · Palette generator →

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