#F5E08C#F5E08C

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

Color values

HEX#F5E08C
RGBrgb(245, 224, 140)
HSLhsl(48, 84%, 75%)
HSVhsv(48, 43%, 96%)
CMYKcmyk(0%, 8.6%, 42.9%, 3.9%)
CIE-LABlab(89.21, -4.04, 43.66)
CIE-LCHlch(89.21, 43.84, 95.28°)
OKLaboklab(90.57% -0.0107 0.1061)
OKLCHoklch(90.57% 0.107 95.8)
XYZxyz(69.0472, 74.6197, 35.5718)
Luminance0.7462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E08C #8CA1F5
analogous
#F5AB8C #F5E08C #D5F58C
triadic
#F5E08C #8CF5E0 #E08CF5
tetradic
#F5E08C #8CF5AB #8CA1F5 #F58CD5
square
#F5E08C #8CF5AB #8CA1F5 #F58CD5
split-complementary
#F5E08C #8CD5F5 #AB8CF5
monochromatic
#EBC21B #F0D154 #F5E08C #FAEFC4 #FDF7E3

Accessibility & contrast

On white

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

On black

15.92
#F5E08C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E08C
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E08C#FFFFFF#000000##000000
##F5E08C1.001.3215.9215.92
#FFFFFF1.321.0021.0021.00
#00000015.9221.001.001.00
##00000015.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DC86
Deuteranopia (green-blind)
#F5E38F
Tritanopia (blue-blind)
#FFD4CB
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f5e08c;
/* rgb */ color: rgb(245, 224, 140);
/* oklch */ color: oklch(90.6% 0.107 95.8);
Tailwind
colors: {
  custom: {
    50: '#fae9af',
    500: '#f5e08c',
    950: '#000000',
  },
}
SCSS
$custom: #f5e08c;
$custom-light: #fae9af;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e08c",
  "rgb": {
    "r": 245,
    "g": 224,
    "b": 140
  },
  "hsl": {
    "h": 48,
    "s": 84,
    "l": 75.49
  },
  "oklch": {
    "l": 0.90566,
    "c": 0.10663,
    "h": 95.8
  },
  "luminance": 0.74617
}

Semantic roles & 50–950 ramp

primary
#F5E08C
secondary
#536CD2
accent
#31E005
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F5E08C

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

Preview Lab → · Contrast checker → · Palette generator →

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