#F5E48A#F5E48A

#F5E48A is a very light, moderate yellow. Relative luminance 0.767; OKLCH L 91.3% C 0.112 H 98.9°. Best body text is #000000 at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#F5E48A
RGBrgb(245, 228, 138)
HSLhsl(50, 84%, 75%)
HSVhsv(50, 44%, 96%)
CMYKcmyk(0%, 6.9%, 43.7%, 3.9%)
CIE-LABlab(90.20, -6.25, 45.89)
CIE-LCHlch(90.20, 46.31, 97.76°)
OKLaboklab(91.34% -0.0173 0.111)
OKLCHoklch(91.34% 0.112 98.9)
XYZxyz(69.9887, 76.7366, 35.1647)
Luminance0.7673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E48A #8A9BF5
analogous
#F5AE8A #F5E48A #D1F58A
triadic
#F5E48A #8AF5E4 #E48AF5
tetradic
#F5E48A #8AF5AE #8A9BF5 #F58AD1
square
#F5E48A #8AF5AE #8A9BF5 #F58AD1
split-complementary
#F5E48A #8AD1F5 #AE8AF5
monochromatic
#EBCA19 #F0D752 #F5E48A #FAF1C2 #FDF8E3

Accessibility & contrast

On white

1.28
#F5E48A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.35
#F5E48A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E48A
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E48A#FFFFFF#000000##000000
##F5E48A1.001.2816.3516.35
#FFFFFF1.281.0021.0021.00
#00000016.3521.001.001.00
##00000016.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DF83
Deuteranopia (green-blind)
#F9E68E
Tritanopia (blue-blind)
#FFD8CE
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f5e48a;
/* rgb */ color: rgb(245, 228, 138);
/* oklch */ color: oklch(91.3% 0.112 98.9);
Tailwind
colors: {
  custom: {
    50: '#faecad',
    500: '#f5e48a',
    950: '#000000',
  },
}
SCSS
$custom: #f5e48a;
$custom-light: #faecad;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e48a",
  "rgb": {
    "r": 245,
    "g": 228,
    "b": 138
  },
  "hsl": {
    "h": 50.467,
    "s": 84.252,
    "l": 75.098
  },
  "oklch": {
    "l": 0.91337,
    "c": 0.11235,
    "h": 98.9
  },
  "luminance": 0.76734
}

Semantic roles & 50–950 ramp

primary
#F5E48A
secondary
#5166D2
accent
#28E105
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F5E48A

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

Preview Lab → · Contrast checker → · Palette generator →

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