#F5E994#F5E994

#F5E994 is a very light, moderate yellow. Relative luminance 0.798; OKLCH L 92.5% C 0.106 H 101.3°. Best body text is #000000 at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#F5E994
RGBrgb(245, 233, 148)
HSLhsl(53, 83%, 77%)
HSVhsv(53, 40%, 96%)
CMYKcmyk(0%, 4.9%, 39.6%, 3.9%)
CIE-LABlab(91.61, -7.74, 42.75)
CIE-LCHlch(91.61, 43.44, 100.26°)
OKLaboklab(92.5% -0.0208 0.1044)
OKLCHoklch(92.5% 0.106 101.3)
XYZxyz(72.1417, 79.8304, 39.6198)
Luminance0.7983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E994 #94A0F5
analogous
#F5B994 #F5E994 #D1F594
triadic
#F5E994 #94F5E9 #E994F5
tetradic
#F5E994 #94F5B9 #94A0F5 #F594D1
square
#F5E994 #94F5B9 #94A0F5 #F594D1
split-complementary
#F5E994 #94D1F5 #B994F5
monochromatic
#EBD224 #F0DD5C #F5E994 #FAF5CC #FCF9E3

Accessibility & contrast

On white

1.24
#F5E994 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.97
#F5E994 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E994
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E994#FFFFFF#000000##000000
##F5E9941.001.2416.9716.97
#FFFFFF1.241.0021.0021.00
#00000016.9721.001.001.00
##00000016.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E48E
Deuteranopia (green-blind)
#FCE997
Tritanopia (blue-blind)
#FFDED4
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f5e994;
/* rgb */ color: rgb(245, 233, 148);
/* oklch */ color: oklch(92.5% 0.106 101.3);
Tailwind
colors: {
  custom: {
    50: '#faefb4',
    500: '#f5e994',
    950: '#000000',
  },
}
SCSS
$custom: #f5e994;
$custom-light: #faefb4;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e994",
  "rgb": {
    "r": 245,
    "g": 233,
    "b": 148
  },
  "hsl": {
    "h": 52.577,
    "s": 82.906,
    "l": 77.059
  },
  "oklch": {
    "l": 0.92497,
    "c": 0.10647,
    "h": 101.3
  },
  "luminance": 0.79828
}

Semantic roles & 50–950 ramp

primary
#F5E994
secondary
#5A69D3
accent
#21DF06
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F5E994

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

Preview Lab → · Contrast checker → · Palette generator →

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