#FFEC57#FFEC57

#FFEC57 is a very light, vivid yellow. Relative luminance 0.819; OKLCH L 93.2% C 0.165 H 102.0°. Best body text is #000000 at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#FFEC57
RGBrgb(255, 236, 87)
HSLhsl(53, 100%, 67%)
HSVhsv(53, 66%, 100%)
CMYKcmyk(0%, 7.5%, 65.9%, 0%)
CIE-LABlab(92.55, -10.08, 71.62)
CIE-LCHlch(92.55, 72.33, 98.01°)
OKLaboklab(93.23% -0.0342 0.1611)
OKLCHoklch(93.23% 0.165 102)
XYZxyz(72.9588, 81.9421, 20.9883)
Luminance0.8194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEC57 #576AFF
analogous
#FF9857 #FFEC57 #BEFF57
triadic
#FFEC57 #57FFEC #EC57FF
tetradic
#FFEC57 #57FF98 #576AFF #FF57BE
square
#FFEC57 #57FF98 #576AFF #FF57BE
split-complementary
#FFEC57 #57BEFF #9857FF
monochromatic
#DCC300 #FFE51A #FFEC57 #FFF394 #FFFAD1

Accessibility & contrast

On white

1.21
#FFEC57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.39
#FFEC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEC57
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEC57#FFFFFF#000000##000000
##FFEC571.001.2117.3917.39
#FFFFFF1.211.0021.0021.00
#00000017.3921.001.001.00
##00000017.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE543
Deuteranopia (green-blind)
#FFED60
Tritanopia (blue-blind)
#FFDCCD
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ffec57;
/* rgb */ color: rgb(255, 236, 87);
/* oklch */ color: oklch(93.2% 0.165 102.0);
Tailwind
colors: {
  custom: {
    50: '#fff18e',
    500: '#ffec57',
    950: '#000000',
  },
}
SCSS
$custom: #ffec57;
$custom-light: #fff18e;
$custom-dark: #000000;
JSON
{
  "hex": "#ffec57",
  "rgb": {
    "r": 255,
    "g": 236,
    "b": 87
  },
  "hsl": {
    "h": 53.214,
    "s": 100,
    "l": 67.059
  },
  "oklch": {
    "l": 0.93232,
    "c": 0.16474,
    "h": 102
  },
  "luminance": 0.81939
}

Semantic roles & 50–950 ramp

primary
#FFEC57
secondary
#2639D5
accent
#1AE600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19160D
muted
#87857F

Preview Lab

Preview with #FFEC57

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

Preview Lab → · Contrast checker → · Palette generator →

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