#DEC351#DEC351

#DEC351 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.9% C 0.135 H 95.9°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#DEC351
RGBrgb(222, 195, 81)
HSLhsl(49, 68%, 59%)
HSVhsv(49, 64%, 87%)
CMYKcmyk(0%, 12.2%, 63.5%, 12.9%)
CIE-LABlab(79.13, -3.41, 59.06)
CIE-LCHlch(79.13, 59.16, 93.31°)
OKLaboklab(81.9% -0.0139 0.1346)
OKLCHoklch(81.9% 0.135 95.9)
XYZxyz(51.1268, 55.1564, 15.7362)
Luminance0.5515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC351 #516CDE
analogous
#DE7D51 #DEC351 #B2DE51
triadic
#DEC351 #51DEC3 #C351DE
tetradic
#DEC351 #51DE7D #516CDE #DE51B2
square
#DEC351 #51DE7D #516CDE #DE51B2
split-complementary
#DEC351 #51B2DE #7D51DE
monochromatic
#98801D #CBAC27 #DEC351 #E8D584 #F2E6B8

Accessibility & contrast

On white

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

On black

12.03
#DEC351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC351
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC351#FFFFFF#000000##000000
##DEC3511.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF44
Deuteranopia (green-blind)
#DCC857
Tritanopia (blue-blind)
#EFB5AB
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dec351;
/* rgb */ color: rgb(222, 195, 81);
/* oklch */ color: oklch(81.9% 0.135 95.9);
Tailwind
colors: {
  custom: {
    50: '#ecd487',
    500: '#dec351',
    950: '#000000',
  },
}
SCSS
$custom: #dec351;
$custom-light: #ecd487;
$custom-dark: #000000;
JSON
{
  "hex": "#dec351",
  "rgb": {
    "r": 222,
    "g": 195,
    "b": 81
  },
  "hsl": {
    "h": 48.511,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81898,
    "c": 0.13532,
    "h": 95.9
  },
  "luminance": 0.55154
}

Semantic roles & 50–950 ramp

primary
#DEC351
secondary
#374B9C
accent
#5EEB3D
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC351

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

Preview Lab → · Contrast checker → · Palette generator →

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