#F8E37A#F8E37A

#F8E37A is a very light, vivid yellow. Relative luminance 0.763; OKLCH L 91.2% C 0.128 H 98.3°. Best body text is #000000 at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#F8E37A
RGBrgb(248, 227, 122)
HSLhsl(50, 90%, 73%)
HSVhsv(50, 51%, 97%)
CMYKcmyk(0%, 8.5%, 50.8%, 2.7%)
CIE-LABlab(90.00, -6.02, 53.39)
CIE-LCHlch(90.00, 53.73, 96.43°)
OKLaboklab(91.17% -0.0184 0.1265)
OKLCHoklch(91.17% 0.128 98.3)
XYZxyz(69.6956, 76.3025, 29.4652)
Luminance0.7630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E37A #7A8FF8
analogous
#F8A47A #F8E37A #CEF87A
triadic
#F8E37A #7AF8E3 #E37AF8
tetradic
#F8E37A #7AF8A4 #7A8FF8 #F87ACE
square
#F8E37A #7AF8A4 #7A8FF8 #F87ACE
split-complementary
#F8E37A #7ACEF8 #A47AF8
monochromatic
#EBC60C #F5D740 #F8E37A #FBEFB4 #FDF9E2

Accessibility & contrast

On white

1.29
#F8E37A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.26
#F8E37A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E37A
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E37A#FFFFFF#000000##000000
##F8E37A1.001.2916.2616.26
#FFFFFF1.291.0021.0021.00
#00000016.2621.001.001.00
##00000016.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8e37a;
/* rgb */ color: rgb(248, 227, 122);
/* oklch */ color: oklch(91.2% 0.128 98.3);
Tailwind
colors: {
  custom: {
    50: '#fdeba3',
    500: '#f8e37a',
    950: '#000000',
  },
}
SCSS
$custom: #f8e37a;
$custom-light: #fdeba3;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e37a",
  "rgb": {
    "r": 248,
    "g": 227,
    "b": 122
  },
  "hsl": {
    "h": 50,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.91174,
    "c": 0.12782,
    "h": 98.3
  },
  "luminance": 0.763
}

Semantic roles & 50–950 ramp

primary
#F8E37A
secondary
#425AD4
accent
#26E600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F8E37A

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

Preview Lab → · Contrast checker → · Palette generator →

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