#F8F077#F8F077

#F8F077 is a very light, vivid yellow. Relative luminance 0.836; OKLCH L 93.8% C 0.143 H 105.4°. Best body text is #000000 at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#F8F077
RGBrgb(248, 240, 119)
HSLhsl(56, 90%, 72%)
HSVhsv(56, 52%, 97%)
CMYKcmyk(0%, 3.2%, 52%, 2.7%)
CIE-LABlab(93.28, -12.72, 58.66)
CIE-LCHlch(93.28, 60.03, 102.24°)
OKLaboklab(93.77% -0.0379 0.1377)
OKLCHoklch(93.77% 0.143 105.4)
XYZxyz(73.2033, 83.6108, 29.7316)
Luminance0.8361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F077 #777FF8
analogous
#F8B077 #F8F077 #C0F877
triadic
#F8F077 #77F8F0 #F077F8
tetradic
#F8F077 #77F8B0 #777FF8 #F877C0
square
#F8F077 #77F8B0 #777FF8 #F877C0
split-complementary
#F8F077 #77C0F8 #B077F8
monochromatic
#E9DB0C #F5EA3D #F8F077 #FBF6B1 #FEFCE2

Accessibility & contrast

On white

1.18
#F8F077 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.72
#F8F077 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F077
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F077#FFFFFF#000000##000000
##F8F0771.001.1817.7217.72
#FFFFFF1.181.0021.0021.00
#00000017.7221.001.001.00
##00000017.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96C
Deuteranopia (green-blind)
#FFEE7D
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f8f077;
/* rgb */ color: rgb(248, 240, 119);
/* oklch */ color: oklch(93.8% 0.143 105.4);
Tailwind
colors: {
  custom: {
    50: '#fdf4a1',
    500: '#f8f077',
    950: '#000000',
  },
}
SCSS
$custom: #f8f077;
$custom-light: #fdf4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f077",
  "rgb": {
    "r": 248,
    "g": 240,
    "b": 119
  },
  "hsl": {
    "h": 56.279,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.93767,
    "c": 0.14284,
    "h": 105.4
  },
  "luminance": 0.83609
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8F077

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

Preview Lab → · Contrast checker → · Palette generator →

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