#DEC25D#DEC25D

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

Color values

HEX#DEC25D
RGBrgb(222, 194, 93)
HSLhsl(47, 66%, 62%)
HSVhsv(47, 58%, 87%)
CMYKcmyk(0%, 12.6%, 58.1%, 12.9%)
CIE-LABlab(78.99, -2.08, 53.51)
CIE-LCHlch(78.99, 53.55, 92.23°)
OKLaboklab(81.82% -0.0087 0.1243)
OKLCHoklch(81.82% 0.125 94)
XYZxyz(51.3939, 54.9060, 18.2446)
Luminance0.5490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC25D #5D79DE
analogous
#DE825D #DEC25D #BADE5D
triadic
#DEC25D #5DDEC2 #C25DDE
tetradic
#DEC25D #5DDE82 #5D79DE #DE5DBA
square
#DEC25D #5DDE82 #5D79DE #DE5DBA
split-complementary
#DEC25D #5DBADE #825DDE
monochromatic
#A08421 #D3AE2B #DEC25D #E8D590 #F3E8C3

Accessibility & contrast

On white

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

On black

11.98
#DEC25D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC25D
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC25D#FFFFFF#000000##000000
##DEC25D1.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF53
Deuteranopia (green-blind)
#DBC761
Tritanopia (blue-blind)
#EEB5AB
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dec25d;
/* rgb */ color: rgb(222, 194, 93);
/* oklch */ color: oklch(81.8% 0.125 94.0);
Tailwind
colors: {
  custom: {
    50: '#ebd48e',
    500: '#dec25d',
    950: '#000000',
  },
}
SCSS
$custom: #dec25d;
$custom-light: #ebd48e;
$custom-dark: #000000;
JSON
{
  "hex": "#dec25d",
  "rgb": {
    "r": 222,
    "g": 194,
    "b": 93
  },
  "hsl": {
    "h": 46.977,
    "s": 66.154,
    "l": 61.765
  },
  "oklch": {
    "l": 0.8182,
    "c": 0.12462,
    "h": 94
  },
  "luminance": 0.54903
}

Semantic roles & 50–950 ramp

primary
#DEC25D
secondary
#3C52A3
accent
#3FCE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC25D

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

Preview Lab → · Contrast checker → · Palette generator →

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