#DEC757#DEC757

#DEC757 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.8% C 0.134 H 97.8°. Best body text is #000000 at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#DEC757
RGBrgb(222, 199, 87)
HSLhsl(50, 67%, 61%)
HSVhsv(50, 61%, 87%)
CMYKcmyk(0%, 10.4%, 60.8%, 12.9%)
CIE-LABlab(80.22, -5.08, 57.62)
CIE-LCHlch(80.22, 57.84, 95.04°)
OKLaboklab(82.78% -0.018 0.1324)
OKLCHoklch(82.78% 0.134 97.8)
XYZxyz(52.2701, 57.0669, 17.2767)
Luminance0.5706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC757 #576EDE
analogous
#DE8357 #DEC757 #B1DE57
triadic
#DEC757 #57DEC7 #C757DE
tetradic
#DEC757 #57DE83 #576EDE #DE57B1
square
#DEC757 #57DE83 #576EDE #DE57B1
split-complementary
#DEC757 #57B1DE #8357DE
monochromatic
#9C871F #CFB329 #DEC757 #E8D88A #F2E9BD

Accessibility & contrast

On white

1.69
#DEC757 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.41
#DEC757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC757
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC757#FFFFFF#000000##000000
##DEC7571.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C24B
Deuteranopia (green-blind)
#DFCA5C
Tritanopia (blue-blind)
#EEBAAF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dec757;
/* rgb */ color: rgb(222, 199, 87);
/* oklch */ color: oklch(82.8% 0.134 97.8);
Tailwind
colors: {
  custom: {
    50: '#ebd78b',
    500: '#dec757',
    950: '#000000',
  },
}
SCSS
$custom: #dec757;
$custom-light: #ebd78b;
$custom-dark: #000000;
JSON
{
  "hex": "#dec757",
  "rgb": {
    "r": 222,
    "g": 199,
    "b": 87
  },
  "hsl": {
    "h": 49.778,
    "s": 67.164,
    "l": 60.588
  },
  "oklch": {
    "l": 0.82775,
    "c": 0.13358,
    "h": 97.8
  },
  "luminance": 0.57065
}

Semantic roles & 50–950 ramp

primary
#DEC757
secondary
#3A4BA0
accent
#36CF16
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC757

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

Preview Lab → · Contrast checker → · Palette generator →

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