#DEC257#DEC257

#DEC257 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.8% C 0.130 H 94.7°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#DEC257
RGBrgb(222, 194, 87)
HSLhsl(48, 67%, 61%)
HSVhsv(48, 61%, 87%)
CMYKcmyk(0%, 12.6%, 60.8%, 12.9%)
CIE-LABlab(78.93, -2.51, 56.19)
CIE-LCHlch(78.93, 56.24, 92.55°)
OKLaboklab(81.76% -0.0106 0.1293)
OKLCHoklch(81.76% 0.13 94.7)
XYZxyz(51.1385, 54.8038, 16.8995)
Luminance0.5480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC257 #5773DE
analogous
#DE7F57 #DEC257 #B6DE57
triadic
#DEC257 #57DEC2 #C257DE
tetradic
#DEC257 #57DE7F #5773DE #DE57B6
square
#DEC257 #57DE7F #5773DE #DE57B6
split-complementary
#DEC257 #57B6DE #7F57DE
monochromatic
#9C821F #CFAD29 #DEC257 #E8D58A #F2E7BD

Accessibility & contrast

On white

1.76
#DEC257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#DEC257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC257
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC257#FFFFFF#000000##000000
##DEC2571.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4C
Deuteranopia (green-blind)
#DBC75C
Tritanopia (blue-blind)
#EEB4AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dec257;
/* rgb */ color: rgb(222, 194, 87);
/* oklch */ color: oklch(81.8% 0.130 94.7);
Tailwind
colors: {
  custom: {
    50: '#ebd48a',
    500: '#dec257',
    950: '#000000',
  },
}
SCSS
$custom: #dec257;
$custom-light: #ebd48a;
$custom-dark: #000000;
JSON
{
  "hex": "#dec257",
  "rgb": {
    "r": 222,
    "g": 194,
    "b": 87
  },
  "hsl": {
    "h": 47.556,
    "s": 67.164,
    "l": 60.588
  },
  "oklch": {
    "l": 0.81755,
    "c": 0.12974,
    "h": 94.7
  },
  "luminance": 0.54801
}

Semantic roles & 50–950 ramp

primary
#DEC257
secondary
#3A4FA0
accent
#3DCF16
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC257

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

Preview Lab → · Contrast checker → · Palette generator →

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