#F5E47E#F5E47E

#F5E47E is a very light, vivid yellow. Relative luminance 0.764; OKLCH L 91.2% C 0.125 H 100.0°. Best body text is #000000 at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#F5E47E
RGBrgb(245, 228, 126)
HSLhsl(51, 86%, 73%)
HSVhsv(51, 49%, 96%)
CMYKcmyk(0%, 6.9%, 48.6%, 3.9%)
CIE-LABlab(90.05, -7.37, 51.50)
CIE-LCHlch(90.05, 52.02, 98.14°)
OKLaboklab(91.17% -0.0217 0.1227)
OKLCHoklch(91.17% 0.125 100)
XYZxyz(69.1675, 76.4081, 30.8394)
Luminance0.7641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E47E #7E8FF5
analogous
#F5A97E #F5E47E #CAF57E
triadic
#F5E47E #7EF5E4 #E47EF5
tetradic
#F5E47E #7EF5A9 #7E8FF5 #F57ECA
square
#F5E47E #7EF5A9 #7E8FF5 #F57ECA
split-complementary
#F5E47E #7ECAF5 #A97EF5
monochromatic
#E7C812 #F1D845 #F5E47E #F9F0B7 #FDF9E3

Accessibility & contrast

On white

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

On black

16.28
#F5E47E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E47E
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E47E#FFFFFF#000000##000000
##F5E47E1.001.2916.2816.28
#FFFFFF1.291.0021.0021.00
#00000016.2821.001.001.00
##00000016.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DF75
Deuteranopia (green-blind)
#FAE582
Tritanopia (blue-blind)
#FFD7CC
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f5e47e;
/* rgb */ color: rgb(245, 228, 126);
/* oklch */ color: oklch(91.2% 0.125 100.0);
Tailwind
colors: {
  custom: {
    50: '#faeca5',
    500: '#f5e47e',
    950: '#000000',
  },
}
SCSS
$custom: #f5e47e;
$custom-light: #faeca5;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e47e",
  "rgb": {
    "r": 245,
    "g": 228,
    "b": 126
  },
  "hsl": {
    "h": 51.429,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.91168,
    "c": 0.1246,
    "h": 100
  },
  "luminance": 0.76406
}

Semantic roles & 50–950 ramp

primary
#F5E47E
secondary
#465AD1
accent
#23E203
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E47E

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

Preview Lab → · Contrast checker → · Palette generator →

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