#F5E48B#F5E48B

#F5E48B is a very light, moderate yellow. Relative luminance 0.768; OKLCH L 91.4% C 0.111 H 98.7°. Best body text is #000000 at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#F5E48B
RGBrgb(245, 228, 139)
HSLhsl(50, 84%, 75%)
HSVhsv(50, 43%, 96%)
CMYKcmyk(0%, 6.9%, 43.3%, 3.9%)
CIE-LABlab(90.21, -6.15, 45.41)
CIE-LCHlch(90.21, 45.83, 97.71°)
OKLaboklab(91.35% -0.0169 0.11)
OKLCHoklch(91.35% 0.111 98.7)
XYZxyz(70.0615, 76.7657, 35.5478)
Luminance0.7676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E48B #8B9CF5
analogous
#F5AF8B #F5E48B #D1F58B
triadic
#F5E48B #8BF5E4 #E48BF5
tetradic
#F5E48B #8BF5AF #8B9CF5 #F58BD1
square
#F5E48B #8BF5AF #8B9CF5 #F58BD1
split-complementary
#F5E48B #8BD1F5 #AF8BF5
monochromatic
#EBCA1A #F0D753 #F5E48B #FAF1C3 #FDF8E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5E48B#FFFFFF#000000##000000
##F5E48B1.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)
#F4DF84
Deuteranopia (green-blind)
#F9E68F
Tritanopia (blue-blind)
#FFD8CE
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f5e48b;
/* rgb */ color: rgb(245, 228, 139);
/* oklch */ color: oklch(91.4% 0.111 98.7);
Tailwind
colors: {
  custom: {
    50: '#faecae',
    500: '#f5e48b',
    950: '#000000',
  },
}
SCSS
$custom: #f5e48b;
$custom-light: #faecae;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e48b",
  "rgb": {
    "r": 245,
    "g": 228,
    "b": 139
  },
  "hsl": {
    "h": 50.377,
    "s": 84.127,
    "l": 75.294
  },
  "oklch": {
    "l": 0.91352,
    "c": 0.1113,
    "h": 98.7
  },
  "luminance": 0.76763
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5E48B

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

Preview Lab → · Contrast checker → · Palette generator →

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