#F5E481#F5E481

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

Color values

HEX#F5E481
RGBrgb(245, 228, 129)
HSLhsl(51, 85%, 73%)
HSVhsv(51, 47%, 96%)
CMYKcmyk(0%, 6.9%, 47.3%, 3.9%)
CIE-LABlab(90.08, -7.10, 50.11)
CIE-LCHlch(90.08, 50.61, 98.07°)
OKLaboklab(91.21% -0.0206 0.1199)
OKLCHoklch(91.21% 0.122 99.8)
XYZxyz(69.3640, 76.4867, 31.8742)
Luminance0.7648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E481 #8192F5
analogous
#F5AA81 #F5E481 #CCF581
triadic
#F5E481 #81F5E4 #E481F5
tetradic
#F5E481 #81F5AA #8192F5 #F581CC
square
#F5E481 #81F5AA #8192F5 #F581CC
split-complementary
#F5E481 #81CCF5 #AA81F5
monochromatic
#E9CA13 #F0D848 #F5E481 #F9F0BA #FDF9E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5E481#FFFFFF#000000##000000
##F5E4811.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)
#F5DF79
Deuteranopia (green-blind)
#FAE685
Tritanopia (blue-blind)
#FFD7CD
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f5e481;
/* rgb */ color: rgb(245, 228, 129);
/* oklch */ color: oklch(91.2% 0.122 99.8);
Tailwind
colors: {
  custom: {
    50: '#faeca7',
    500: '#f5e481',
    950: '#000000',
  },
}
SCSS
$custom: #f5e481;
$custom-light: #faeca7;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e481",
  "rgb": {
    "r": 245,
    "g": 228,
    "b": 129
  },
  "hsl": {
    "h": 51.207,
    "s": 85.294,
    "l": 73.333
  },
  "oklch": {
    "l": 0.91208,
    "c": 0.12161,
    "h": 99.8
  },
  "luminance": 0.76484
}

Semantic roles & 50–950 ramp

primary
#F5E481
secondary
#495DD1
accent
#24E204
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#181610
muted
#868480

Preview Lab

Preview with #F5E481

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

Preview Lab → · Contrast checker → · Palette generator →

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