#F5E07D#F5E07D

#F5E07D is a very light, vivid yellow. Relative luminance 0.742; OKLCH L 90.3% C 0.122 H 97.6°. Best body text is #000000 at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#F5E07D
RGBrgb(245, 224, 125)
HSLhsl(50, 86%, 73%)
HSVhsv(50, 49%, 96%)
CMYKcmyk(0%, 8.6%, 49%, 3.9%)
CIE-LABlab(89.02, -5.45, 50.73)
CIE-LCHlch(89.02, 51.02, 96.13°)
OKLaboklab(90.35% -0.0162 0.1209)
OKLCHoklch(90.35% 0.122 97.6)
XYZxyz(68.0156, 74.2070, 30.1387)
Luminance0.7420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E07D #7D92F5
analogous
#F5A47D #F5E07D #CEF57D
triadic
#F5E07D #7DF5E0 #E07DF5
tetradic
#F5E07D #7DF5A4 #7D92F5 #F57DCE
square
#F5E07D #7DF5A4 #7D92F5 #F57DCE
split-complementary
#F5E07D #7DCEF5 #A47DF5
monochromatic
#E6C112 #F1D244 #F5E07D #F9EEB6 #FDF8E3

Accessibility & contrast

On white

1.33
#F5E07D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.84
#F5E07D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E07D
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E07D#FFFFFF#000000##000000
##F5E07D1.001.3315.8415.84
#FFFFFF1.331.0021.0021.00
#00000015.8421.001.001.00
##00000015.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DB75
Deuteranopia (green-blind)
#F7E381
Tritanopia (blue-blind)
#FFD3C9
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f5e07d;
/* rgb */ color: rgb(245, 224, 125);
/* oklch */ color: oklch(90.3% 0.122 97.6);
Tailwind
colors: {
  custom: {
    50: '#fbe9a4',
    500: '#f5e07d',
    950: '#000000',
  },
}
SCSS
$custom: #f5e07d;
$custom-light: #fbe9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e07d",
  "rgb": {
    "r": 245,
    "g": 224,
    "b": 125
  },
  "hsl": {
    "h": 49.5,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.90349,
    "c": 0.122,
    "h": 97.6
  },
  "luminance": 0.74204
}

Semantic roles & 50–950 ramp

primary
#F5E07D
secondary
#465ED1
accent
#2AE203
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E07D

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

Preview Lab → · Contrast checker → · Palette generator →

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