#F5E08D#F5E08D

#F5E08D is a very light, moderate yellow. Relative luminance 0.746; OKLCH L 90.6% C 0.106 H 95.6°. Best body text is #000000 at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#F5E08D
RGBrgb(245, 224, 141)
HSLhsl(48, 84%, 76%)
HSVhsv(48, 42%, 96%)
CMYKcmyk(0%, 8.6%, 42.4%, 3.9%)
CIE-LABlab(89.23, -3.93, 43.18)
CIE-LCHlch(89.23, 43.36, 95.21°)
OKLaboklab(90.58% -0.0103 0.1051)
OKLCHoklch(90.58% 0.106 95.6)
XYZxyz(69.1213, 74.6493, 35.9619)
Luminance0.7465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E08D #8DA2F5
analogous
#F5AC8D #F5E08D #D6F58D
triadic
#F5E08D #8DF5E0 #E08DF5
tetradic
#F5E08D #8DF5AC #8DA2F5 #F58DD6
square
#F5E08D #8DF5AC #8DA2F5 #F58DD6
split-complementary
#F5E08D #8DD6F5 #AC8DF5
monochromatic
#EBC11C #F0D155 #F5E08D #FAEFC5 #FDF7E3

Accessibility & contrast

On white

1.32
#F5E08D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.93
#F5E08D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E08D
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E08D#FFFFFF#000000##000000
##F5E08D1.001.3215.9315.93
#FFFFFF1.321.0021.0021.00
#00000015.9321.001.001.00
##00000015.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DC87
Deuteranopia (green-blind)
#F5E390
Tritanopia (blue-blind)
#FFD4CC
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f5e08d;
/* rgb */ color: rgb(245, 224, 141);
/* oklch */ color: oklch(90.6% 0.106 95.6);
Tailwind
colors: {
  custom: {
    50: '#fae9af',
    500: '#f5e08d',
    950: '#000000',
  },
}
SCSS
$custom: #f5e08d;
$custom-light: #fae9af;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e08d",
  "rgb": {
    "r": 245,
    "g": 224,
    "b": 141
  },
  "hsl": {
    "h": 47.885,
    "s": 83.871,
    "l": 75.686
  },
  "oklch": {
    "l": 0.90582,
    "c": 0.10557,
    "h": 95.6
  },
  "luminance": 0.74647
}

Semantic roles & 50–950 ramp

primary
#F5E08D
secondary
#546DD2
accent
#31E005
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F5E08D

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

Preview Lab → · Contrast checker → · Palette generator →

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