#F5E482#F5E482

#F5E482 is a very light, vivid yellow. Relative luminance 0.765; OKLCH L 91.2% C 0.121 H 99.7°. Best body text is #000000 at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#F5E482
RGBrgb(245, 228, 130)
HSLhsl(51, 85%, 74%)
HSVhsv(51, 47%, 96%)
CMYKcmyk(0%, 6.9%, 46.9%, 3.9%)
CIE-LABlab(90.10, -7.01, 49.64)
CIE-LCHlch(90.10, 50.13, 98.04°)
OKLaboklab(91.22% -0.0202 0.1189)
OKLCHoklch(91.22% 0.121 99.7)
XYZxyz(69.4308, 76.5134, 32.2260)
Luminance0.7651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E482 #8293F5
analogous
#F5AA82 #F5E482 #CDF582
triadic
#F5E482 #82F5E4 #E482F5
tetradic
#F5E482 #82F5AA #8293F5 #F582CD
square
#F5E482 #82F5AA #8293F5 #F582CD
split-complementary
#F5E482 #82CDF5 #AA82F5
monochromatic
#EACA13 #F0D849 #F5E482 #FAF0BB #FDF9E3

Accessibility & contrast

On white

1.29
#F5E482 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.30
#F5E482 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E482
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E482#FFFFFF#000000##000000
##F5E4821.001.2916.3016.30
#FFFFFF1.291.0021.0021.00
#00000016.3021.001.001.00
##00000016.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DF7A
Deuteranopia (green-blind)
#FAE686
Tritanopia (blue-blind)
#FFD8CD
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f5e482;
/* rgb */ color: rgb(245, 228, 130);
/* oklch */ color: oklch(91.2% 0.121 99.7);
Tailwind
colors: {
  custom: {
    50: '#faeca8',
    500: '#f5e482',
    950: '#000000',
  },
}
SCSS
$custom: #f5e482;
$custom-light: #faeca8;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e482",
  "rgb": {
    "r": 245,
    "g": 228,
    "b": 130
  },
  "hsl": {
    "h": 51.13,
    "s": 85.185,
    "l": 73.529
  },
  "oklch": {
    "l": 0.91222,
    "c": 0.1206,
    "h": 99.7
  },
  "luminance": 0.76511
}

Semantic roles & 50–950 ramp

primary
#F5E482
secondary
#4A5ED1
accent
#25E204
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#181610
muted
#868480

Preview Lab

Preview with #F5E482

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

Preview Lab → · Contrast checker → · Palette generator →

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