#F5EA96#F5EA96

#F5EA96 is a very light, moderate yellow. Relative luminance 0.805; OKLCH L 92.7% C 0.105 H 101.8°. Best body text is #000000 at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#F5EA96
RGBrgb(245, 234, 150)
HSLhsl(53, 83%, 77%)
HSVhsv(53, 39%, 96%)
CMYKcmyk(0%, 4.5%, 38.8%, 3.9%)
CIE-LABlab(91.89, -8.03, 42.12)
CIE-LCHlch(91.89, 42.88, 100.79°)
OKLaboklab(92.73% -0.0214 0.1031)
OKLCHoklch(92.73% 0.105 101.8)
XYZxyz(72.5853, 80.4621, 40.5554)
Luminance0.8046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EA96 #96A1F5
analogous
#F5BB96 #F5EA96 #D0F596
triadic
#F5EA96 #96F5EA #EA96F5
tetradic
#F5EA96 #96F5BB #96A1F5 #F596D0
square
#F5EA96 #96F5BB #96A1F5 #F596D0
split-complementary
#F5EA96 #96D0F5 #BB96F5
monochromatic
#EAD426 #F0DF5E #F5EA96 #FAF5CE #FCF9E3

Accessibility & contrast

On white

1.23
#F5EA96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.09
#F5EA96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EA96
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EA96#FFFFFF#000000##000000
##F5EA961.001.2317.0917.09
#FFFFFF1.231.0021.0021.00
#00000017.0921.001.001.00
##00000017.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E590
Deuteranopia (green-blind)
#FCEA99
Tritanopia (blue-blind)
#FFDFD5
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f5ea96;
/* rgb */ color: rgb(245, 234, 150);
/* oklch */ color: oklch(92.7% 0.105 101.8);
Tailwind
colors: {
  custom: {
    50: '#faf0b6',
    500: '#f5ea96',
    950: '#000000',
  },
}
SCSS
$custom: #f5ea96;
$custom-light: #faf0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ea96",
  "rgb": {
    "r": 245,
    "g": 234,
    "b": 150
  },
  "hsl": {
    "h": 53.053,
    "s": 82.609,
    "l": 77.451
  },
  "oklch": {
    "l": 0.92731,
    "c": 0.10529,
    "h": 101.8
  },
  "luminance": 0.8046
}

Semantic roles & 50–950 ramp

primary
#F5EA96
secondary
#5C6AD3
accent
#20DF06
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F5EA96

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

Preview Lab → · Contrast checker → · Palette generator →

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