#F8F375#F8F375

#F8F375 is a very light, vivid yellow. Relative luminance 0.853; OKLCH L 94.4% C 0.148 H 106.8°. Best body text is #000000 at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#F8F375
RGBrgb(248, 243, 117)
HSLhsl(58, 90%, 72%)
HSVhsv(58, 53%, 97%)
CMYKcmyk(0%, 2%, 52.8%, 2.7%)
CIE-LABlab(94.03, -14.35, 60.44)
CIE-LCHlch(94.03, 62.12, 103.36°)
OKLaboklab(94.36% -0.0428 0.1413)
OKLCHoklch(94.36% 0.148 106.8)
XYZxyz(73.9749, 85.3441, 29.4025)
Luminance0.8534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F375 #757AF8
analogous
#F8B275 #F8F375 #BCF875
triadic
#F8F375 #75F8F3 #F375F8
tetradic
#F8F375 #75F8B2 #757AF8 #F875BC
square
#F8F375 #75F8B2 #757AF8 #F875BC
split-complementary
#F8F375 #75BCF8 #B275F8
monochromatic
#E7DF0C #F5EE3B #F8F375 #FBF8AF #FEFCE2

Accessibility & contrast

On white

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

On black

18.07
#F8F375 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F375
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F375#FFFFFF#000000##000000
##F8F3751.001.1618.0718.07
#FFFFFF1.161.0021.0021.00
#00000018.0721.001.001.00
##00000018.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB69
Deuteranopia (green-blind)
#FFF07B
Tritanopia (blue-blind)
#FFE5D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f8f375;
/* rgb */ color: rgb(248, 243, 117);
/* oklch */ color: oklch(94.4% 0.148 106.8);
Tailwind
colors: {
  custom: {
    50: '#fdf6a0',
    500: '#f8f375',
    950: '#000000',
  },
}
SCSS
$custom: #f8f375;
$custom-light: #fdf6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f375",
  "rgb": {
    "r": 248,
    "g": 243,
    "b": 117
  },
  "hsl": {
    "h": 57.71,
    "s": 90.345,
    "l": 71.569
  },
  "oklch": {
    "l": 0.94357,
    "c": 0.14767,
    "h": 106.8
  },
  "luminance": 0.85342
}

Semantic roles & 50–950 ramp

primary
#F8F375
secondary
#3E43D3
accent
#09E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F8F375

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

Preview Lab → · Contrast checker → · Palette generator →

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