#FFE157#FFE157

#FFE157 is a very light, vivid yellow. Relative luminance 0.758; OKLCH L 91.0% C 0.156 H 96.8°. Best body text is #000000 at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#FFE157
RGBrgb(255, 225, 87)
HSLhsl(49, 100%, 67%)
HSVhsv(49, 66%, 100%)
CMYKcmyk(0%, 11.8%, 65.9%, 0%)
CIE-LABlab(89.77, -4.60, 68.73)
CIE-LCHlch(89.77, 68.89, 93.83°)
OKLaboklab(91.03% -0.0186 0.1551)
OKLCHoklch(91.03% 0.156 96.8)
XYZxyz(69.8888, 75.8020, 19.9650)
Luminance0.7580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE157 #5775FF
analogous
#FF8D57 #FFE157 #C9FF57
triadic
#FFE157 #57FFE1 #E157FF
tetradic
#FFE157 #57FF8D #5775FF #FF57C9
square
#FFE157 #57FF8D #5775FF #FF57C9
split-complementary
#FFE157 #57C9FF #8D57FF
monochromatic
#DCB400 #FFD61A #FFE157 #FFEC94 #FFF7D1

Accessibility & contrast

On white

1.30
#FFE157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.16
#FFE157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE157
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE157#FFFFFF#000000##000000
##FFE1571.001.3016.1616.16
#FFFFFF1.301.0021.0021.00
#00000016.1621.001.001.00
##00000016.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC45
Deuteranopia (green-blind)
#FEE65E
Tritanopia (blue-blind)
#FFD1C4
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ffe157;
/* rgb */ color: rgb(255, 225, 87);
/* oklch */ color: oklch(91.0% 0.156 96.8);
Tailwind
colors: {
  custom: {
    50: '#ffea8d',
    500: '#ffe157',
    950: '#000000',
  },
}
SCSS
$custom: #ffe157;
$custom-light: #ffea8d;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe157",
  "rgb": {
    "r": 255,
    "g": 225,
    "b": 87
  },
  "hsl": {
    "h": 49.286,
    "s": 100,
    "l": 67.059
  },
  "oklch": {
    "l": 0.91026,
    "c": 0.15616,
    "h": 96.8
  },
  "luminance": 0.75799
}

Semantic roles & 50–950 ramp

primary
#FFE157
secondary
#2645D5
accent
#29E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19160D
muted
#87847F

Preview Lab

Preview with #FFE157

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

Preview Lab → · Contrast checker → · Palette generator →

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