#F5EF80#F5EF80

#F5EF80 is a very light, vivid yellow. Relative luminance 0.827; OKLCH L 93.4% C 0.133 H 105.9°. Best body text is #000000 at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#F5EF80
RGBrgb(245, 239, 128)
HSLhsl(57, 85%, 73%)
HSVhsv(57, 48%, 96%)
CMYKcmyk(0%, 2.4%, 47.8%, 3.9%)
CIE-LABlab(92.89, -12.65, 53.98)
CIE-LCHlch(92.89, 55.44, 103.19°)
OKLaboklab(93.43% -0.0367 0.1283)
OKLCHoklch(93.43% 0.133 105.9)
XYZxyz(72.4207, 82.7060, 32.5668)
Luminance0.8270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EF80 #8086F5
analogous
#F5B480 #F5EF80 #C0F580
triadic
#F5EF80 #80F5EF #EF80F5
tetradic
#F5EF80 #80F5B4 #8086F5 #F580C0
square
#F5EF80 #80F5B4 #8086F5 #F580C0
split-complementary
#F5EF80 #80C0F5 #B480F5
monochromatic
#E8DD12 #F1E847 #F5EF80 #F9F6B9 #FDFBE3

Accessibility & contrast

On white

1.20
#F5EF80 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.54
#F5EF80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EF80
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EF80#FFFFFF#000000##000000
##F5EF801.001.2017.5417.54
#FFFFFF1.201.0021.0021.00
#00000017.5421.001.001.00
##00000017.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE876
Deuteranopia (green-blind)
#FFED85
Tritanopia (blue-blind)
#FFE2D5
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f5ef80;
/* rgb */ color: rgb(245, 239, 128);
/* oklch */ color: oklch(93.4% 0.133 105.9);
Tailwind
colors: {
  custom: {
    50: '#faf4a7',
    500: '#f5ef80',
    950: '#000000',
  },
}
SCSS
$custom: #f5ef80;
$custom-light: #faf4a7;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ef80",
  "rgb": {
    "r": 245,
    "g": 239,
    "b": 128
  },
  "hsl": {
    "h": 56.923,
    "s": 85.401,
    "l": 73.137
  },
  "oklch": {
    "l": 0.93427,
    "c": 0.13346,
    "h": 105.9
  },
  "luminance": 0.82704
}

Semantic roles & 50–950 ramp

primary
#F5EF80
secondary
#484FD1
accent
#0FE204
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #F5EF80

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

Preview Lab → · Contrast checker → · Palette generator →

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