#F5E479#F5E479

#F5E479 is a very light, vivid yellow. Relative luminance 0.763; OKLCH L 91.1% C 0.129 H 100.4°. Best body text is #000000 at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#F5E479
RGBrgb(245, 228, 121)
HSLhsl(52, 86%, 72%)
HSVhsv(52, 51%, 96%)
CMYKcmyk(0%, 6.9%, 50.6%, 3.9%)
CIE-LABlab(89.99, -7.80, 53.79)
CIE-LCHlch(89.99, 54.36, 98.25°)
OKLaboklab(91.1% -0.0234 0.1273)
OKLCHoklch(91.1% 0.129 100.4)
XYZxyz(68.8529, 76.2822, 29.1825)
Luminance0.7628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E479 #798AF5
analogous
#F5A679 #F5E479 #C8F579
triadic
#F5E479 #79F5E4 #E479F5
tetradic
#F5E479 #79F5A6 #798AF5 #F579C8
square
#F5E479 #79F5A6 #798AF5 #F579C8
split-complementary
#F5E479 #79C8F5 #A679F5
monochromatic
#E3C611 #F1D940 #F5E479 #F9EFB2 #FDF9E3

Accessibility & contrast

On white

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

On black

16.26
#F5E479 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E479
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E479#FFFFFF#000000##000000
##F5E4791.001.2916.2616.26
#FFFFFF1.291.0021.0021.00
#00000016.2621.001.001.00
##00000016.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DE6F
Deuteranopia (green-blind)
#FAE57E
Tritanopia (blue-blind)
#FFD7CB
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f5e479;
/* rgb */ color: rgb(245, 228, 121);
/* oklch */ color: oklch(91.1% 0.129 100.4);
Tailwind
colors: {
  custom: {
    50: '#fbeca2',
    500: '#f5e479',
    950: '#000000',
  },
}
SCSS
$custom: #f5e479;
$custom-light: #fbeca2;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e479",
  "rgb": {
    "r": 245,
    "g": 228,
    "b": 121
  },
  "hsl": {
    "h": 51.774,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.91103,
    "c": 0.12947,
    "h": 100.4
  },
  "luminance": 0.7628
}

Semantic roles & 50–950 ramp

primary
#F5E479
secondary
#4256D0
accent
#22E303
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E479

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

Preview Lab → · Contrast checker → · Palette generator →

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