#DEC957#DEC957

#DEC957 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 83.2% C 0.135 H 98.9°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#DEC957
RGBrgb(222, 201, 87)
HSLhsl(51, 67%, 61%)
HSVhsv(51, 61%, 87%)
CMYKcmyk(0%, 9.5%, 60.8%, 12.9%)
CIE-LABlab(80.74, -6.11, 58.19)
CIE-LCHlch(80.74, 58.51, 95.99°)
OKLaboklab(83.19% -0.021 0.1336)
OKLCHoklch(83.19% 0.135 98.9)
XYZxyz(52.7333, 57.9933, 17.4311)
Luminance0.5799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC957 #576CDE
analogous
#DE8657 #DEC957 #AFDE57
triadic
#DEC957 #57DEC9 #C957DE
tetradic
#DEC957 #57DE86 #576CDE #DE57AF
square
#DEC957 #57DE86 #576CDE #DE57AF
split-complementary
#DEC957 #57AFDE #8657DE
monochromatic
#9C881F #CFB529 #DEC957 #E8D98A #F2EABD

Accessibility & contrast

On white

1.67
#DEC957 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#DEC957 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC957
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC957#FFFFFF#000000##000000
##DEC9571.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC44A
Deuteranopia (green-blind)
#E1CC5D
Tritanopia (blue-blind)
#EEBCB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dec957;
/* rgb */ color: rgb(222, 201, 87);
/* oklch */ color: oklch(83.2% 0.135 98.9);
Tailwind
colors: {
  custom: {
    50: '#ebd98b',
    500: '#dec957',
    950: '#000000',
  },
}
SCSS
$custom: #dec957;
$custom-light: #ebd98b;
$custom-dark: #000000;
JSON
{
  "hex": "#dec957",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 87
  },
  "hsl": {
    "h": 50.667,
    "s": 67.164,
    "l": 60.588
  },
  "oklch": {
    "l": 0.83185,
    "c": 0.1352,
    "h": 98.9
  },
  "luminance": 0.57991
}

Semantic roles & 50–950 ramp

primary
#DEC957
secondary
#3A49A0
accent
#33CF16
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC957

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

Preview Lab → · Contrast checker → · Palette generator →

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