#F5E993#F5E993

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

Color values

HEX#F5E993
RGBrgb(245, 233, 147)
HSLhsl(53, 83%, 77%)
HSVhsv(53, 40%, 96%)
CMYKcmyk(0%, 4.9%, 40%, 3.9%)
CIE-LABlab(91.59, -7.84, 43.22)
CIE-LCHlch(91.59, 43.93, 100.29°)
OKLaboklab(92.48% -0.0212 0.1055)
OKLCHoklch(92.48% 0.108 101.3)
XYZxyz(72.0629, 79.7989, 39.2048)
Luminance0.7980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E993 #939FF5
analogous
#F5B893 #F5E993 #D0F593
triadic
#F5E993 #93F5E9 #E993F5
tetradic
#F5E993 #93F5B8 #939FF5 #F593D0
square
#F5E993 #93F5B8 #939FF5 #F593D0
split-complementary
#F5E993 #93D0F5 #B893F5
monochromatic
#EBD223 #F0DE5B #F5E993 #FAF4CB #FCF9E3

Accessibility & contrast

On white

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

On black

16.96
#F5E993 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E993
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E993#FFFFFF#000000##000000
##F5E9931.001.2416.9616.96
#FFFFFF1.241.0021.0021.00
#00000016.9621.001.001.00
##00000016.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5e993;
/* rgb */ color: rgb(245, 233, 147);
/* oklch */ color: oklch(92.5% 0.108 101.3);
Tailwind
colors: {
  custom: {
    50: '#faefb4',
    500: '#f5e993',
    950: '#000000',
  },
}
SCSS
$custom: #f5e993;
$custom-light: #faefb4;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e993",
  "rgb": {
    "r": 245,
    "g": 233,
    "b": 147
  },
  "hsl": {
    "h": 52.653,
    "s": 83.051,
    "l": 76.863
  },
  "oklch": {
    "l": 0.92482,
    "c": 0.10756,
    "h": 101.3
  },
  "luminance": 0.79797
}

Semantic roles & 50–950 ramp

primary
#F5E993
secondary
#5968D3
accent
#21DF06
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F5E993

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

Preview Lab → · Contrast checker → · Palette generator →

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