#F5E08F#F5E08F

#F5E08F is a very light, moderate yellow. Relative luminance 0.747; OKLCH L 90.6% C 0.103 H 95.3°. Best body text is #000000 at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#F5E08F
RGBrgb(245, 224, 143)
HSLhsl(48, 84%, 76%)
HSVhsv(48, 42%, 96%)
CMYKcmyk(0%, 8.6%, 41.6%, 3.9%)
CIE-LABlab(89.26, -3.73, 42.22)
CIE-LCHlch(89.26, 42.39, 95.05°)
OKLaboklab(90.61% -0.0096 0.103)
OKLCHoklch(90.61% 0.103 95.3)
XYZxyz(69.2714, 74.7094, 36.7527)
Luminance0.7471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E08F #8FA4F5
analogous
#F5AD8F #F5E08F #D7F58F
triadic
#F5E08F #8FF5E0 #E08FF5
tetradic
#F5E08F #8FF5AD #8FA4F5 #F58FD7
square
#F5E08F #8FF5AD #8FA4F5 #F58FD7
split-complementary
#F5E08F #8FD7F5 #AD8FF5
monochromatic
#EBC11F #F0D057 #F5E08F #FAF0C7 #FCF7E3

Accessibility & contrast

On white

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

On black

15.94
#F5E08F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E08F
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E08F#FFFFFF#000000##000000
##F5E08F1.001.3215.9415.94
#FFFFFF1.321.0021.0021.00
#00000015.9421.001.001.00
##00000015.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DC89
Deuteranopia (green-blind)
#F5E392
Tritanopia (blue-blind)
#FFD5CC
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f5e08f;
/* rgb */ color: rgb(245, 224, 143);
/* oklch */ color: oklch(90.6% 0.103 95.3);
Tailwind
colors: {
  custom: {
    50: '#fae9b1',
    500: '#f5e08f',
    950: '#000000',
  },
}
SCSS
$custom: #f5e08f;
$custom-light: #fae9b1;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e08f",
  "rgb": {
    "r": 245,
    "g": 224,
    "b": 143
  },
  "hsl": {
    "h": 47.647,
    "s": 83.607,
    "l": 76.078
  },
  "oklch": {
    "l": 0.90613,
    "c": 0.10343,
    "h": 95.3
  },
  "luminance": 0.74707
}

Semantic roles & 50–950 ramp

primary
#F5E08F
secondary
#566FD3
accent
#32E005
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171611
muted
#858481

Preview Lab

Preview with #F5E08F

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

Preview Lab → · Contrast checker → · Palette generator →

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