#FFE57C#FFE57C

#FFE57C is a very light, vivid yellow. Relative luminance 0.788; OKLCH L 92.2% C 0.128 H 95.8°. Best body text is #000000 at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#FFE57C
RGBrgb(255, 229, 124)
HSLhsl(48, 100%, 74%)
HSVhsv(48, 51%, 100%)
CMYKcmyk(0%, 10.2%, 51.4%, 0%)
CIE-LABlab(91.12, -4.06, 53.94)
CIE-LCHlch(91.12, 54.09, 94.30°)
OKLaboklab(92.21% -0.0129 0.1278)
OKLCHoklch(92.21% 0.128 95.8)
XYZxyz(72.8999, 78.7569, 30.4265)
Luminance0.7875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE57C #7C96FF
analogous
#FFA47C #FFE57C #D7FF7C
triadic
#FFE57C #7CFFE5 #E57CFF
tetradic
#FFE57C #7CFFA4 #7C96FF #FF7CD7
square
#FFE57C #7CFFA4 #7C96FF #FF7CD7
split-complementary
#FFE57C #7CD7FF #A47CFF
monochromatic
#FFCD02 #FFD93F #FFE57C #FFF1B9 #FFF9E0

Accessibility & contrast

On white

1.25
#FFE57C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.75
#FFE57C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE57C
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE57C#FFFFFF#000000##000000
##FFE57C1.001.2516.7516.75
#FFFFFF1.251.0021.0021.00
#00000016.7521.001.001.00
##00000016.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E173
Deuteranopia (green-blind)
#FFE980
Tritanopia (blue-blind)
#FFD7CD
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #ffe57c;
/* rgb */ color: rgb(255, 229, 124);
/* oklch */ color: oklch(92.2% 0.128 95.8);
Tailwind
colors: {
  custom: {
    50: '#ffeda4',
    500: '#ffe57c',
    950: '#000000',
  },
}
SCSS
$custom: #ffe57c;
$custom-light: #ffeda4;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe57c",
  "rgb": {
    "r": 255,
    "g": 229,
    "b": 124
  },
  "hsl": {
    "h": 48.092,
    "s": 100,
    "l": 74.314
  },
  "oklch": {
    "l": 0.92213,
    "c": 0.12841,
    "h": 95.8
  },
  "luminance": 0.78754
}

Semantic roles & 50–950 ramp

primary
#FFE57C
secondary
#4261DE
accent
#2EE600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #FFE57C

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

Preview Lab → · Contrast checker → · Palette generator →

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