#F8E370#F8E370

#F8E370 is a very light, vivid yellow. Relative luminance 0.761; OKLCH L 91.1% C 0.137 H 99.1°. Best body text is #000000 at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#F8E370
RGBrgb(248, 227, 112)
HSLhsl(51, 91%, 71%)
HSVhsv(51, 55%, 97%)
CMYKcmyk(0%, 8.5%, 54.8%, 2.7%)
CIE-LABlab(89.89, -6.82, 57.91)
CIE-LCHlch(89.89, 58.31, 96.72°)
OKLaboklab(91.05% -0.0217 0.1354)
OKLCHoklch(91.05% 0.137 99.1)
XYZxyz(69.1076, 76.0672, 26.3683)
Luminance0.7606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E370 #7085F8
analogous
#F89F70 #F8E370 #C9F870
triadic
#F8E370 #70F8E3 #E370F8
tetradic
#F8E370 #70F89F #7085F8 #F870C9
square
#F8E370 #70F89F #7085F8 #F870C9
split-complementary
#F8E370 #70C9F8 #9F70F8
monochromatic
#E3C10B #F5D836 #F8E370 #FBEEAA #FEF9E2

Accessibility & contrast

On white

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

On black

16.21
#F8E370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E370
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E370#FFFFFF#000000##000000
##F8E3701.001.3016.2116.21
#FFFFFF1.301.0021.0021.00
#00000016.2121.001.001.00
##00000016.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE65
Deuteranopia (green-blind)
#FBE575
Tritanopia (blue-blind)
#FFD5C9
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f8e370;
/* rgb */ color: rgb(248, 227, 112);
/* oklch */ color: oklch(91.1% 0.137 99.1);
Tailwind
colors: {
  custom: {
    50: '#fdeb9c',
    500: '#f8e370',
    950: '#000000',
  },
}
SCSS
$custom: #f8e370;
$custom-light: #fdeb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e370",
  "rgb": {
    "r": 248,
    "g": 227,
    "b": 112
  },
  "hsl": {
    "h": 50.735,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91052,
    "c": 0.1371,
    "h": 99.1
  },
  "luminance": 0.76064
}

Semantic roles & 50–950 ramp

primary
#F8E370
secondary
#3951D3
accent
#23E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E370

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

Preview Lab → · Contrast checker → · Palette generator →

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