#F5E995#F5E995

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

Color values

HEX#F5E995
RGBrgb(245, 233, 149)
HSLhsl(53, 83%, 77%)
HSVhsv(53, 39%, 96%)
CMYKcmyk(0%, 4.9%, 39.2%, 3.9%)
CIE-LABlab(91.62, -7.63, 42.27)
CIE-LCHlch(91.62, 42.95, 100.23°)
OKLaboklab(92.51% -0.0204 0.1034)
OKLCHoklch(92.51% 0.105 101.2)
XYZxyz(72.2212, 79.8622, 40.0385)
Luminance0.7986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E995 #95A1F5
analogous
#F5B995 #F5E995 #D1F595
triadic
#F5E995 #95F5E9 #E995F5
tetradic
#F5E995 #95F5B9 #95A1F5 #F595D1
square
#F5E995 #95F5B9 #95A1F5 #F595D1
split-complementary
#F5E995 #95D1F5 #B995F5
monochromatic
#EAD225 #F0DD5D #F5E995 #FAF5CD #FCF9E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5E995#FFFFFF#000000##000000
##F5E9951.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)
#F8E48F
Deuteranopia (green-blind)
#FBE998
Tritanopia (blue-blind)
#FFDED4
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f5e995;
/* rgb */ color: rgb(245, 233, 149);
/* oklch */ color: oklch(92.5% 0.105 101.2);
Tailwind
colors: {
  custom: {
    50: '#faefb5',
    500: '#f5e995',
    950: '#000000',
  },
}
SCSS
$custom: #f5e995;
$custom-light: #faefb5;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e995",
  "rgb": {
    "r": 245,
    "g": 233,
    "b": 149
  },
  "hsl": {
    "h": 52.5,
    "s": 82.759,
    "l": 77.255
  },
  "oklch": {
    "l": 0.92513,
    "c": 0.10537,
    "h": 101.2
  },
  "luminance": 0.7986
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5E995

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

Preview Lab → · Contrast checker → · Palette generator →

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