#F5E793#F5E793

#F5E793 is a very light, moderate yellow. Relative luminance 0.787; OKLCH L 92.1% C 0.106 H 100.0°. Best body text is #000000 at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#F5E793
RGBrgb(245, 231, 147)
HSLhsl(51, 83%, 77%)
HSVhsv(51, 40%, 96%)
CMYKcmyk(0%, 5.7%, 40%, 3.9%)
CIE-LABlab(91.09, -6.84, 42.57)
CIE-LCHlch(91.09, 43.12, 99.13°)
OKLaboklab(92.08% -0.0183 0.104)
OKLCHoklch(92.08% 0.106 100)
XYZxyz(71.5000, 78.6730, 39.0171)
Luminance0.7867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E793 #93A1F5
analogous
#F5B693 #F5E793 #D2F593
triadic
#F5E793 #93F5E7 #E793F5
tetradic
#F5E793 #93F5B6 #93A1F5 #F593D2
square
#F5E793 #93F5B6 #93A1F5 #F593D2
split-complementary
#F5E793 #93D2F5 #B693F5
monochromatic
#EBCE23 #F0DB5B #F5E793 #FAF3CB #FCF9E3

Accessibility & contrast

On white

1.25
#F5E793 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.73
#F5E793 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E793
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E793#FFFFFF#000000##000000
##F5E7931.001.2516.7316.73
#FFFFFF1.251.0021.0021.00
#00000016.7321.001.001.00
##00000016.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E28D
Deuteranopia (green-blind)
#FAE896
Tritanopia (blue-blind)
#FFDCD2
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f5e793;
/* rgb */ color: rgb(245, 231, 147);
/* oklch */ color: oklch(92.1% 0.106 100.0);
Tailwind
colors: {
  custom: {
    50: '#faeeb4',
    500: '#f5e793',
    950: '#000000',
  },
}
SCSS
$custom: #f5e793;
$custom-light: #faeeb4;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e793",
  "rgb": {
    "r": 245,
    "g": 231,
    "b": 147
  },
  "hsl": {
    "h": 51.429,
    "s": 83.051,
    "l": 76.863
  },
  "oklch": {
    "l": 0.92079,
    "c": 0.10557,
    "h": 100
  },
  "luminance": 0.78671
}

Semantic roles & 50–950 ramp

primary
#F5E793
secondary
#596BD3
accent
#25DF06
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F5E793

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

Preview Lab → · Contrast checker → · Palette generator →

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