#F5E080#F5E080

#F5E080 is a very light, moderate yellow. Relative luminance 0.743; OKLCH L 90.4% C 0.119 H 97.3°. Best body text is #000000 at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#F5E080
RGBrgb(245, 224, 128)
HSLhsl(49, 85%, 73%)
HSVhsv(49, 48%, 96%)
CMYKcmyk(0%, 8.6%, 47.8%, 3.9%)
CIE-LABlab(89.06, -5.18, 49.33)
CIE-LCHlch(89.06, 49.60, 95.99°)
OKLaboklab(90.39% -0.0151 0.1181)
OKLCHoklch(90.39% 0.119 97.3)
XYZxyz(68.2101, 74.2849, 31.1633)
Luminance0.7428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E080 #8095F5
analogous
#F5A580 #F5E080 #CFF580
triadic
#F5E080 #80F5E0 #E080F5
tetradic
#F5E080 #80F5A5 #8095F5 #F580CF
square
#F5E080 #80F5A5 #8095F5 #F580CF
split-complementary
#F5E080 #80CFF5 #A580F5
monochromatic
#E8C212 #F1D247 #F5E080 #F9EEB9 #FDF8E3

Accessibility & contrast

On white

1.32
#F5E080 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.86
#F5E080 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E080
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E080#FFFFFF#000000##000000
##F5E0801.001.3215.8615.86
#FFFFFF1.321.0021.0021.00
#00000015.8621.001.001.00
##00000015.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DC78
Deuteranopia (green-blind)
#F7E384
Tritanopia (blue-blind)
#FFD3C9
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f5e080;
/* rgb */ color: rgb(245, 224, 128);
/* oklch */ color: oklch(90.4% 0.119 97.3);
Tailwind
colors: {
  custom: {
    50: '#fae9a6',
    500: '#f5e080',
    950: '#000000',
  },
}
SCSS
$custom: #f5e080;
$custom-light: #fae9a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e080",
  "rgb": {
    "r": 245,
    "g": 224,
    "b": 128
  },
  "hsl": {
    "h": 49.231,
    "s": 85.401,
    "l": 73.137
  },
  "oklch": {
    "l": 0.9039,
    "c": 0.11902,
    "h": 97.3
  },
  "luminance": 0.74282
}

Semantic roles & 50–950 ramp

primary
#F5E080
secondary
#4861D1
accent
#2CE204
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E080

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

Preview Lab → · Contrast checker → · Palette generator →

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