#F5E07A#F5E07A

#F5E07A is a very light, vivid yellow. Relative luminance 0.741; OKLCH L 90.3% C 0.125 H 98.0°. Best body text is #000000 at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#F5E07A
RGBrgb(245, 224, 122)
HSLhsl(50, 86%, 72%)
HSVhsv(50, 50%, 96%)
CMYKcmyk(0%, 8.6%, 50.2%, 3.9%)
CIE-LABlab(88.98, -5.71, 52.11)
CIE-LCHlch(88.98, 52.43, 96.25°)
OKLaboklab(90.31% -0.0173 0.1237)
OKLCHoklch(90.31% 0.125 98)
XYZxyz(67.8268, 74.1315, 29.1446)
Luminance0.7413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E07A #7A8FF5
analogous
#F5A37A #F5E07A #CDF57A
triadic
#F5E07A #7AF5E0 #E07AF5
tetradic
#F5E07A #7AF5A3 #7A8FF5 #F57ACD
square
#F5E07A #7AF5A3 #7A8FF5 #F57ACD
split-complementary
#F5E07A #7ACDF5 #A37AF5
monochromatic
#E3C011 #F1D341 #F5E07A #F9EDB3 #FDF8E3

Accessibility & contrast

On white

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

On black

15.83
#F5E07A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E07A
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E07A#FFFFFF#000000##000000
##F5E07A1.001.3315.8315.83
#FFFFFF1.331.0021.0021.00
#00000015.8321.001.001.00
##00000015.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB71
Deuteranopia (green-blind)
#F7E37E
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f5e07a;
/* rgb */ color: rgb(245, 224, 122);
/* oklch */ color: oklch(90.3% 0.125 98.0);
Tailwind
colors: {
  custom: {
    50: '#fbe9a2',
    500: '#f5e07a',
    950: '#000000',
  },
}
SCSS
$custom: #f5e07a;
$custom-light: #fbe9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e07a",
  "rgb": {
    "r": 245,
    "g": 224,
    "b": 122
  },
  "hsl": {
    "h": 49.756,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.9031,
    "c": 0.12494,
    "h": 98
  },
  "luminance": 0.74129
}

Semantic roles & 50–950 ramp

primary
#F5E07A
secondary
#435BD0
accent
#29E303
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E07A

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

Preview Lab → · Contrast checker → · Palette generator →

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