#F8F075#F8F075

#F8F075 is a very light, vivid yellow. Relative luminance 0.836; OKLCH L 93.7% C 0.145 H 105.5°. Best body text is #000000 at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#F8F075
RGBrgb(248, 240, 117)
HSLhsl(56, 90%, 72%)
HSVhsv(56, 53%, 97%)
CMYKcmyk(0%, 3.2%, 52.8%, 2.7%)
CIE-LABlab(93.26, -12.88, 59.54)
CIE-LCHlch(93.26, 60.92, 102.21°)
OKLaboklab(93.74% -0.0386 0.1394)
OKLCHoklch(93.74% 0.145 105.5)
XYZxyz(73.0845, 83.5632, 29.1057)
Luminance0.8356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F075 #757DF8
analogous
#F8AF75 #F8F075 #BFF875
triadic
#F8F075 #75F8F0 #F075F8
tetradic
#F8F075 #75F8AF #757DF8 #F875BF
square
#F8F075 #75F8AF #757DF8 #F875BF
split-complementary
#F8F075 #75BFF8 #AF75F8
monochromatic
#E7DA0C #F5EA3B #F8F075 #FBF6AF #FEFCE2

Accessibility & contrast

On white

1.19
#F8F075 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.71
#F8F075 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F075
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F075#FFFFFF#000000##000000
##F8F0751.001.1917.7117.71
#FFFFFF1.191.0021.0021.00
#00000017.7121.001.001.00
##00000017.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE869
Deuteranopia (green-blind)
#FFEE7B
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f8f075;
/* rgb */ color: rgb(248, 240, 117);
/* oklch */ color: oklch(93.7% 0.145 105.5);
Tailwind
colors: {
  custom: {
    50: '#fdf4a0',
    500: '#f8f075',
    950: '#000000',
  },
}
SCSS
$custom: #f8f075;
$custom-light: #fdf4a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f075",
  "rgb": {
    "r": 248,
    "g": 240,
    "b": 117
  },
  "hsl": {
    "h": 56.336,
    "s": 90.345,
    "l": 71.569
  },
  "oklch": {
    "l": 0.93744,
    "c": 0.14466,
    "h": 105.5
  },
  "luminance": 0.83561
}

Semantic roles & 50–950 ramp

primary
#F8F075
secondary
#3E47D3
accent
#0EE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F8F075

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

Preview Lab → · Contrast checker → · Palette generator →

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