#FFE158#FFE158

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

Color values

HEX#FFE158
RGBrgb(255, 225, 88)
HSLhsl(49, 100%, 67%)
HSVhsv(49, 65%, 100%)
CMYKcmyk(0%, 11.8%, 65.5%, 0%)
CIE-LABlab(89.78, -4.54, 68.34)
CIE-LCHlch(89.78, 68.49, 93.80°)
OKLaboklab(91.04% -0.0183 0.1544)
OKLCHoklch(91.04% 0.155 96.8)
XYZxyz(69.9299, 75.8185, 20.1816)
Luminance0.7581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE158 #5876FF
analogous
#FF8E58 #FFE158 #C9FF58
triadic
#FFE158 #58FFE1 #E158FF
tetradic
#FFE158 #58FF8E #5876FF #FF58C9
square
#FFE158 #58FF8E #5876FF #FF58C9
split-complementary
#FFE158 #58C9FF #8E58FF
monochromatic
#DDB500 #FFD61B #FFE158 #FFEC95 #FFF7D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFE158#FFFFFF#000000##000000
##FFE1581.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)
#F6DC47
Deuteranopia (green-blind)
#FEE65F
Tritanopia (blue-blind)
#FFD1C4
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ffe158;
/* rgb */ color: rgb(255, 225, 88);
/* oklch */ color: oklch(91.0% 0.155 96.8);
Tailwind
colors: {
  custom: {
    50: '#ffea8d',
    500: '#ffe158',
    950: '#000000',
  },
}
SCSS
$custom: #ffe158;
$custom-light: #ffea8d;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe158",
  "rgb": {
    "r": 255,
    "g": 225,
    "b": 88
  },
  "hsl": {
    "h": 49.222,
    "s": 100,
    "l": 67.255
  },
  "oklch": {
    "l": 0.91035,
    "c": 0.15545,
    "h": 96.8
  },
  "luminance": 0.75815
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFE158

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

Preview Lab → · Contrast checker → · Palette generator →

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