#F5EA99#F5EA99

#F5EA99 is a very light, moderate yellow. Relative luminance 0.806; OKLCH L 92.8% C 0.102 H 101.5°. Best body text is #000000 at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#F5EA99
RGBrgb(245, 234, 153)
HSLhsl(53, 82%, 78%)
HSVhsv(53, 38%, 96%)
CMYKcmyk(0%, 4.5%, 37.6%, 3.9%)
CIE-LABlab(91.94, -7.70, 40.69)
CIE-LCHlch(91.94, 41.41, 100.72°)
OKLaboklab(92.78% -0.0203 0.0999)
OKLCHoklch(92.78% 0.102 101.5)
XYZxyz(72.8300, 80.5599, 41.8440)
Luminance0.8056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EA99 #99A4F5
analogous
#F5BC99 #F5EA99 #D2F599
triadic
#F5EA99 #99F5EA #EA99F5
tetradic
#F5EA99 #99F5BC #99A4F5 #F599D2
square
#F5EA99 #99F5BC #99A4F5 #F599D2
split-complementary
#F5EA99 #99D2F5 #BC99F5
monochromatic
#EAD32A #F0DF61 #F5EA99 #FAF5D1 #FCF9E3

Accessibility & contrast

On white

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

On black

17.11
#F5EA99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EA99
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EA99#FFFFFF#000000##000000
##F5EA991.001.2317.1117.11
#FFFFFF1.231.0021.0021.00
#00000017.1121.001.001.00
##00000017.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E593
Deuteranopia (green-blind)
#FCEA9C
Tritanopia (blue-blind)
#FFDFD6
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f5ea99;
/* rgb */ color: rgb(245, 234, 153);
/* oklch */ color: oklch(92.8% 0.102 101.5);
Tailwind
colors: {
  custom: {
    50: '#faf0b8',
    500: '#f5ea99',
    950: '#000000',
  },
}
SCSS
$custom: #f5ea99;
$custom-light: #faf0b8;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ea99",
  "rgb": {
    "r": 245,
    "g": 234,
    "b": 153
  },
  "hsl": {
    "h": 52.826,
    "s": 82.143,
    "l": 78.039
  },
  "oklch": {
    "l": 0.9278,
    "c": 0.10196,
    "h": 101.5
  },
  "luminance": 0.80558
}

Semantic roles & 50–950 ramp

primary
#F5EA99
secondary
#5F6DD4
accent
#21DF07
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F5EA99

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

Preview Lab → · Contrast checker → · Palette generator →

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