#F8F37E#F8F37E

#F8F37E is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.5% C 0.139 H 106.6°. Best body text is #000000 at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#F8F37E
RGBrgb(248, 243, 126)
HSLhsl(58, 90%, 73%)
HSVhsv(58, 49%, 97%)
CMYKcmyk(0%, 2%, 49.2%, 2.7%)
CIE-LABlab(94.13, -13.61, 56.45)
CIE-LCHlch(94.13, 58.07, 103.56°)
OKLaboklab(94.46% -0.0398 0.1335)
OKLCHoklch(94.46% 0.139 106.6)
XYZxyz(74.5297, 85.5660, 32.3245)
Luminance0.8556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F37E #7E83F8
analogous
#F8B67E #F8F37E #C0F87E
triadic
#F8F37E #7EF8F3 #F37EF8
tetradic
#F8F37E #7EF8B6 #7E83F8 #F87EC0
square
#F8F37E #7EF8B6 #7E83F8 #F87EC0
split-complementary
#F8F37E #7EC0F8 #B67EF8
monochromatic
#EFE50D #F5EE44 #F8F37E #FBF8B8 #FDFCE2

Accessibility & contrast

On white

1.16
#F8F37E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.11
#F8F37E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F37E
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F37E#FFFFFF#000000##000000
##F8F37E1.001.1618.1118.11
#FFFFFF1.161.0021.0021.00
#00000018.1121.001.001.00
##00000018.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB73
Deuteranopia (green-blind)
#FFF184
Tritanopia (blue-blind)
#FFE6D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f8f37e;
/* rgb */ color: rgb(248, 243, 126);
/* oklch */ color: oklch(94.5% 0.139 106.6);
Tailwind
colors: {
  custom: {
    50: '#fdf6a6',
    500: '#f8f37e',
    950: '#000000',
  },
}
SCSS
$custom: #f8f37e;
$custom-light: #fdf6a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f37e",
  "rgb": {
    "r": 248,
    "g": 243,
    "b": 126
  },
  "hsl": {
    "h": 57.541,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.94464,
    "c": 0.13933,
    "h": 106.6
  },
  "luminance": 0.85564
}

Semantic roles & 50–950 ramp

primary
#F8F37E
secondary
#464BD5
accent
#09E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #F8F37E

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

Preview Lab → · Contrast checker → · Palette generator →

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