#F5E494#F5E494

#F5E494 is a very light, moderate yellow. Relative luminance 0.770; OKLCH L 91.5% C 0.102 H 97.7°. Best body text is #000000 at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#F5E494
RGBrgb(245, 228, 148)
HSLhsl(49, 83%, 77%)
HSVhsv(49, 40%, 96%)
CMYKcmyk(0%, 6.9%, 39.6%, 3.9%)
CIE-LABlab(90.34, -5.23, 41.12)
CIE-LCHlch(90.34, 41.45, 97.25°)
OKLaboklab(91.49% -0.0135 0.1007)
OKLCHoklch(91.49% 0.102 97.7)
XYZxyz(70.7463, 77.0396, 39.1547)
Luminance0.7704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E494 #94A5F5
analogous
#F5B494 #F5E494 #D5F594
triadic
#F5E494 #94F5E4 #E494F5
tetradic
#F5E494 #94F5B4 #94A5F5 #F594D5
square
#F5E494 #94F5B4 #94A5F5 #F594D5
split-complementary
#F5E494 #94D5F5 #B494F5
monochromatic
#EBC824 #F0D65C #F5E494 #FAF2CC #FCF8E3

Accessibility & contrast

On white

1.28
#F5E494 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.41
#F5E494 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E494
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E494#FFFFFF#000000##000000
##F5E4941.001.2816.4116.41
#FFFFFF1.281.0021.0021.00
#00000016.4121.001.001.00
##00000016.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3E08E
Deuteranopia (green-blind)
#F8E697
Tritanopia (blue-blind)
#FFD9D0
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f5e494;
/* rgb */ color: rgb(245, 228, 148);
/* oklch */ color: oklch(91.5% 0.102 97.7);
Tailwind
colors: {
  custom: {
    50: '#faecb4',
    500: '#f5e494',
    950: '#000000',
  },
}
SCSS
$custom: #f5e494;
$custom-light: #faecb4;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e494",
  "rgb": {
    "r": 245,
    "g": 228,
    "b": 148
  },
  "hsl": {
    "h": 49.485,
    "s": 82.906,
    "l": 77.059
  },
  "oklch": {
    "l": 0.91493,
    "c": 0.1016,
    "h": 97.7
  },
  "luminance": 0.77037
}

Semantic roles & 50–950 ramp

primary
#F5E494
secondary
#5A6FD3
accent
#2CDF06
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F5E494

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

Preview Lab → · Contrast checker → · Palette generator →

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