#F5E37A#F5E37A

#F5E37A is a very light, vivid yellow. Relative luminance 0.758; OKLCH L 90.9% C 0.128 H 99.8°. Best body text is #000000 at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#F5E37A
RGBrgb(245, 227, 122)
HSLhsl(51, 86%, 72%)
HSVhsv(51, 50%, 96%)
CMYKcmyk(0%, 7.3%, 50.2%, 3.9%)
CIE-LABlab(89.75, -7.22, 53.03)
CIE-LCHlch(89.75, 53.52, 97.75°)
OKLaboklab(90.91% -0.0216 0.1258)
OKLCHoklch(90.91% 0.128 99.8)
XYZxyz(68.6402, 75.7583, 29.4157)
Luminance0.7576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E37A #7A8CF5
analogous
#F5A67A #F5E37A #C9F57A
triadic
#F5E37A #7AF5E3 #E37AF5
tetradic
#F5E37A #7AF5A6 #7A8CF5 #F57AC9
square
#F5E37A #7AF5A6 #7A8CF5 #F57AC9
split-complementary
#F5E37A #7AC9F5 #A67AF5
monochromatic
#E3C511 #F1D741 #F5E37A #F9EFB3 #FDF9E3

Accessibility & contrast

On white

1.30
#F5E37A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.15
#F5E37A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E37A
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E37A#FFFFFF#000000##000000
##F5E37A1.001.3016.1516.15
#FFFFFF1.301.0021.0021.00
#00000016.1521.001.001.00
##00000016.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DE71
Deuteranopia (green-blind)
#FAE57F
Tritanopia (blue-blind)
#FFD6CB
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f5e37a;
/* rgb */ color: rgb(245, 227, 122);
/* oklch */ color: oklch(90.9% 0.128 99.8);
Tailwind
colors: {
  custom: {
    50: '#fbeba3',
    500: '#f5e37a',
    950: '#000000',
  },
}
SCSS
$custom: #f5e37a;
$custom-light: #fbeba3;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e37a",
  "rgb": {
    "r": 245,
    "g": 227,
    "b": 122
  },
  "hsl": {
    "h": 51.22,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.90914,
    "c": 0.1276,
    "h": 99.8
  },
  "luminance": 0.75756
}

Semantic roles & 50–950 ramp

primary
#F5E37A
secondary
#4358D0
accent
#24E303
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E37A

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

Preview Lab → · Contrast checker → · Palette generator →

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