#F5E882#F5E882

#F5E882 is a very light, vivid yellow. Relative luminance 0.787; OKLCH L 92.0% C 0.124 H 102.1°. Best body text is #000000 at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#F5E882
RGBrgb(245, 232, 130)
HSLhsl(53, 85%, 74%)
HSVhsv(53, 47%, 96%)
CMYKcmyk(0%, 5.3%, 46.9%, 3.9%)
CIE-LABlab(91.12, -9.01, 50.89)
CIE-LCHlch(91.12, 51.68, 100.04°)
OKLaboklab(92.03% -0.026 0.1217)
OKLCHoklch(92.03% 0.124 102.1)
XYZxyz(70.5439, 78.7396, 32.5970)
Luminance0.7874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E882 #828FF5
analogous
#F5AE82 #F5E882 #C8F582
triadic
#F5E882 #82F5E8 #E882F5
tetradic
#F5E882 #82F5AE #828FF5 #F582C8
square
#F5E882 #82F5AE #828FF5 #F582C8
split-complementary
#F5E882 #82C8F5 #AE82F5
monochromatic
#EAD213 #F0DE49 #F5E882 #FAF2BB #FDFAE3

Accessibility & contrast

On white

1.25
#F5E882 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.75
#F5E882 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E882
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E882#FFFFFF#000000##000000
##F5E8821.001.2516.7516.75
#FFFFFF1.251.0021.0021.00
#00000016.7521.001.001.00
##00000016.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E279
Deuteranopia (green-blind)
#FDE886
Tritanopia (blue-blind)
#FFDCD0
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f5e882;
/* rgb */ color: rgb(245, 232, 130);
/* oklch */ color: oklch(92.0% 0.124 102.1);
Tailwind
colors: {
  custom: {
    50: '#faefa8',
    500: '#f5e882',
    950: '#000000',
  },
}
SCSS
$custom: #f5e882;
$custom-light: #faefa8;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e882",
  "rgb": {
    "r": 245,
    "g": 232,
    "b": 130
  },
  "hsl": {
    "h": 53.217,
    "s": 85.185,
    "l": 73.529
  },
  "oklch": {
    "l": 0.9203,
    "c": 0.12441,
    "h": 102.1
  },
  "luminance": 0.78737
}

Semantic roles & 50–950 ramp

primary
#F5E882
secondary
#4A59D1
accent
#1DE204
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #F5E882

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

Preview Lab → · Contrast checker → · Palette generator →

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