#F5E280#F5E280

#F5E280 is a very light, vivid yellow. Relative luminance 0.754; OKLCH L 90.8% C 0.121 H 98.6°. Best body text is #000000 at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#F5E280
RGBrgb(245, 226, 128)
HSLhsl(50, 85%, 73%)
HSVhsv(50, 48%, 96%)
CMYKcmyk(0%, 7.8%, 47.8%, 3.9%)
CIE-LABlab(89.56, -6.19, 49.95)
CIE-LCHlch(89.56, 50.33, 97.06°)
OKLaboklab(90.79% -0.0181 0.1194)
OKLCHoklch(90.79% 0.121 98.6)
XYZxyz(68.7508, 75.3662, 31.3435)
Luminance0.7536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E280 #8093F5
analogous
#F5A780 #F5E280 #CEF580
triadic
#F5E280 #80F5E2 #E280F5
tetradic
#F5E280 #80F5A7 #8093F5 #F580CE
square
#F5E280 #80F5A7 #8093F5 #F580CE
split-complementary
#F5E280 #80CEF5 #A780F5
monochromatic
#E8C612 #F1D547 #F5E280 #F9EFB9 #FDF9E3

Accessibility & contrast

On white

1.31
#F5E280 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.07
#F5E280 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E280
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E280#FFFFFF#000000##000000
##F5E2801.001.3116.0716.07
#FFFFFF1.311.0021.0021.00
#00000016.0721.001.001.00
##00000016.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DD78
Deuteranopia (green-blind)
#F8E484
Tritanopia (blue-blind)
#FFD5CB
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f5e280;
/* rgb */ color: rgb(245, 226, 128);
/* oklch */ color: oklch(90.8% 0.121 98.6);
Tailwind
colors: {
  custom: {
    50: '#faeaa7',
    500: '#f5e280',
    950: '#000000',
  },
}
SCSS
$custom: #f5e280;
$custom-light: #faeaa7;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e280",
  "rgb": {
    "r": 245,
    "g": 226,
    "b": 128
  },
  "hsl": {
    "h": 50.256,
    "s": 85.401,
    "l": 73.137
  },
  "oklch": {
    "l": 0.90792,
    "c": 0.12079,
    "h": 98.6
  },
  "luminance": 0.75364
}

Semantic roles & 50–950 ramp

primary
#F5E280
secondary
#485ED1
accent
#28E204
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E280

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

Preview Lab → · Contrast checker → · Palette generator →

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