#F5E07C#F5E07C

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

Color values

HEX#F5E07C
RGBrgb(245, 224, 124)
HSLhsl(50, 86%, 72%)
HSVhsv(50, 49%, 96%)
CMYKcmyk(0%, 8.6%, 49.4%, 3.9%)
CIE-LABlab(89.01, -5.54, 51.19)
CIE-LCHlch(89.01, 51.49, 96.17°)
OKLaboklab(90.34% -0.0166 0.1219)
OKLCHoklch(90.34% 0.123 97.7)
XYZxyz(67.9520, 74.1816, 29.8040)
Luminance0.7418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E07C #7C91F5
analogous
#F5A47C #F5E07C #CDF57C
triadic
#F5E07C #7CF5E0 #E07CF5
tetradic
#F5E07C #7CF5A4 #7C91F5 #F57CCD
square
#F5E07C #7CF5A4 #7C91F5 #F57CCD
split-complementary
#F5E07C #7CCDF5 #A47CF5
monochromatic
#E5C011 #F1D343 #F5E07C #F9EDB5 #FDF8E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5E07C#FFFFFF#000000##000000
##F5E07C1.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)
#F1DB73
Deuteranopia (green-blind)
#F7E380
Tritanopia (blue-blind)
#FFD3C9
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f5e07c;
/* rgb */ color: rgb(245, 224, 124);
/* oklch */ color: oklch(90.3% 0.123 97.7);
Tailwind
colors: {
  custom: {
    50: '#fbe9a4',
    500: '#f5e07c',
    950: '#000000',
  },
}
SCSS
$custom: #f5e07c;
$custom-light: #fbe9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e07c",
  "rgb": {
    "r": 245,
    "g": 224,
    "b": 124
  },
  "hsl": {
    "h": 49.587,
    "s": 85.816,
    "l": 72.353
  },
  "oklch": {
    "l": 0.90336,
    "c": 0.12299,
    "h": 97.7
  },
  "luminance": 0.74179
}

Semantic roles & 50–950 ramp

primary
#F5E07C
secondary
#455DD1
accent
#2AE203
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E07C

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

Preview Lab → · Contrast checker → · Palette generator →

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