#FFE457#FFE457

#FFE457 is a very light, vivid yellow. Relative luminance 0.774; OKLCH L 91.6% C 0.158 H 98.3°. Best body text is #000000 at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#FFE457
RGBrgb(255, 228, 87)
HSLhsl(50, 100%, 67%)
HSVhsv(50, 66%, 100%)
CMYKcmyk(0%, 10.6%, 65.9%, 0%)
CIE-LABlab(90.52, -6.10, 69.52)
CIE-LCHlch(90.52, 69.79, 95.02°)
OKLaboklab(91.63% -0.0229 0.1567)
OKLCHoklch(91.63% 0.158 98.3)
XYZxyz(70.7069, 77.4383, 20.2377)
Luminance0.7743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE457 #5772FF
analogous
#FF9057 #FFE457 #C6FF57
triadic
#FFE457 #57FFE4 #E457FF
tetradic
#FFE457 #57FF90 #5772FF #FF57C6
square
#FFE457 #57FF90 #5772FF #FF57C6
split-complementary
#FFE457 #57C6FF #9057FF
monochromatic
#DCB800 #FFDA1A #FFE457 #FFEE94 #FFF8D1

Accessibility & contrast

On white

1.27
#FFE457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.49
#FFE457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE457
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE457#FFFFFF#000000##000000
##FFE4571.001.2716.4916.49
#FFFFFF1.271.0021.0021.00
#00000016.4921.001.001.00
##00000016.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DE45
Deuteranopia (green-blind)
#FFE85F
Tritanopia (blue-blind)
#FFD4C7
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ffe457;
/* rgb */ color: rgb(255, 228, 87);
/* oklch */ color: oklch(91.6% 0.158 98.3);
Tailwind
colors: {
  custom: {
    50: '#ffec8d',
    500: '#ffe457',
    950: '#000000',
  },
}
SCSS
$custom: #ffe457;
$custom-light: #ffec8d;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe457",
  "rgb": {
    "r": 255,
    "g": 228,
    "b": 87
  },
  "hsl": {
    "h": 50.357,
    "s": 100,
    "l": 67.059
  },
  "oklch": {
    "l": 0.91625,
    "c": 0.15838,
    "h": 98.3
  },
  "luminance": 0.77435
}

Semantic roles & 50–950 ramp

primary
#FFE457
secondary
#2642D5
accent
#25E600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#19160D
muted
#87847F

Preview Lab

Preview with #FFE457

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

Preview Lab → · Contrast checker → · Palette generator →

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