#F5E37C#F5E37C

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

Color values

HEX#F5E37C
RGBrgb(245, 227, 124)
HSLhsl(51, 86%, 72%)
HSVhsv(51, 49%, 96%)
CMYKcmyk(0%, 7.3%, 49.4%, 3.9%)
CIE-LABlab(89.77, -7.04, 52.11)
CIE-LCHlch(89.77, 52.59, 97.70°)
OKLaboklab(90.94% -0.0209 0.1239)
OKLCHoklch(90.94% 0.126 99.6)
XYZxyz(68.7654, 75.8084, 30.0751)
Luminance0.7581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E37C #7C8EF5
analogous
#F5A67C #F5E37C #CBF57C
triadic
#F5E37C #7CF5E3 #E37CF5
tetradic
#F5E37C #7CF5A6 #7C8EF5 #F57CCB
square
#F5E37C #7CF5A6 #7C8EF5 #F57CCB
split-complementary
#F5E37C #7CCBF5 #A67CF5
monochromatic
#E5C611 #F1D743 #F5E37C #F9EFB5 #FDF9E3

Accessibility & contrast

On white

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

On black

16.16
#F5E37C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E37C
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E37C#FFFFFF#000000##000000
##F5E37C1.001.3016.1616.16
#FFFFFF1.301.0021.0021.00
#00000016.1621.001.001.00
##00000016.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5e37c;
/* rgb */ color: rgb(245, 227, 124);
/* oklch */ color: oklch(90.9% 0.126 99.6);
Tailwind
colors: {
  custom: {
    50: '#fbeba4',
    500: '#f5e37c',
    950: '#000000',
  },
}
SCSS
$custom: #f5e37c;
$custom-light: #fbeba4;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e37c",
  "rgb": {
    "r": 245,
    "g": 227,
    "b": 124
  },
  "hsl": {
    "h": 51.074,
    "s": 85.816,
    "l": 72.353
  },
  "oklch": {
    "l": 0.9094,
    "c": 0.12565,
    "h": 99.6
  },
  "luminance": 0.75806
}

Semantic roles & 50–950 ramp

primary
#F5E37C
secondary
#4559D1
accent
#24E203
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E37C

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

Preview Lab → · Contrast checker → · Palette generator →

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