#F8F370#F8F370

#F8F370 is a very light, vivid yellow. Relative luminance 0.852; OKLCH L 94.3% C 0.152 H 107.0°. Best body text is #000000 at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#F8F370
RGBrgb(248, 243, 112)
HSLhsl(58, 91%, 71%)
HSVhsv(58, 55%, 97%)
CMYKcmyk(0%, 2%, 54.8%, 2.7%)
CIE-LABlab(93.98, -14.73, 62.60)
CIE-LCHlch(93.98, 64.31, 103.24°)
OKLaboklab(94.3% -0.0444 0.1455)
OKLCHoklch(94.3% 0.152 107)
XYZxyz(73.6888, 85.2296, 27.8954)
Luminance0.8523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F370 #7075F8
analogous
#F8AF70 #F8F370 #B9F870
triadic
#F8F370 #70F8F3 #F370F8
tetradic
#F8F370 #70F8AF #7075F8 #F870B9
square
#F8F370 #70F8AF #7075F8 #F870B9
split-complementary
#F8F370 #70B9F8 #AF70F8
monochromatic
#E3DB0B #F5EE36 #F8F370 #FBF8AA #FEFDE2

Accessibility & contrast

On white

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

On black

18.05
#F8F370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F370
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F370#FFFFFF#000000##000000
##F8F3701.001.1618.0518.05
#FFFFFF1.161.0021.0021.00
#00000018.0521.001.001.00
##00000018.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB63
Deuteranopia (green-blind)
#FFF077
Tritanopia (blue-blind)
#FFE5D6
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f8f370;
/* rgb */ color: rgb(248, 243, 112);
/* oklch */ color: oklch(94.3% 0.152 107.0);
Tailwind
colors: {
  custom: {
    50: '#fdf69d',
    500: '#f8f370',
    950: '#000000',
  },
}
SCSS
$custom: #f8f370;
$custom-light: #fdf69d;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f370",
  "rgb": {
    "r": 248,
    "g": 243,
    "b": 112
  },
  "hsl": {
    "h": 57.794,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.94302,
    "c": 0.15209,
    "h": 107
  },
  "luminance": 0.85227
}

Semantic roles & 50–950 ramp

primary
#F8F370
secondary
#393FD3
accent
#08E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F8F370

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

Preview Lab → · Contrast checker → · Palette generator →

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