#F5E495#F5E495

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

Color values

HEX#F5E495
RGBrgb(245, 228, 149)
HSLhsl(49, 83%, 77%)
HSVhsv(49, 39%, 96%)
CMYKcmyk(0%, 6.9%, 39.2%, 3.9%)
CIE-LABlab(90.35, -5.12, 40.64)
CIE-LCHlch(90.35, 40.96, 97.18°)
OKLaboklab(91.51% -0.0131 0.0996)
OKLCHoklch(91.51% 0.101 97.5)
XYZxyz(70.8258, 77.0714, 39.5734)
Luminance0.7707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E495 #95A6F5
analogous
#F5B495 #F5E495 #D6F595
triadic
#F5E495 #95F5E4 #E495F5
tetradic
#F5E495 #95F5B4 #95A6F5 #F595D6
square
#F5E495 #95F5B4 #95A6F5 #F595D6
split-complementary
#F5E495 #95D6F5 #B495F5
monochromatic
#EAC825 #F0D65D #F5E495 #FAF2CD #FCF8E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5E495#FFFFFF#000000##000000
##F5E4951.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)
#F3E08F
Deuteranopia (green-blind)
#F8E698
Tritanopia (blue-blind)
#FFD9D0
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f5e495;
/* rgb */ color: rgb(245, 228, 149);
/* oklch */ color: oklch(91.5% 0.101 97.5);
Tailwind
colors: {
  custom: {
    50: '#faecb5',
    500: '#f5e495',
    950: '#000000',
  },
}
SCSS
$custom: #f5e495;
$custom-light: #faecb5;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e495",
  "rgb": {
    "r": 245,
    "g": 228,
    "b": 149
  },
  "hsl": {
    "h": 49.375,
    "s": 82.759,
    "l": 77.255
  },
  "oklch": {
    "l": 0.91509,
    "c": 0.1005,
    "h": 97.5
  },
  "luminance": 0.77069
}

Semantic roles & 50–950 ramp

primary
#F5E495
secondary
#5B70D3
accent
#2DDF06
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F5E495

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

Preview Lab → · Contrast checker → · Palette generator →

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