#F0F080#F0F080

#F0F080 is a very light, vivid yellow. Relative luminance 0.824; OKLCH L 93.2% C 0.135 H 108.8°. Best body text is #000000 at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#F0F080
RGBrgb(240, 240, 128)
HSLhsl(60, 79%, 72%)
HSVhsv(60, 47%, 94%)
CMYKcmyk(0%, 0%, 46.7%, 5.9%)
CIE-LABlab(92.75, -15.11, 53.73)
CIE-LCHlch(92.75, 55.81, 105.70°)
OKLaboklab(93.23% -0.0434 0.1278)
OKLCHoklch(93.23% 0.135 108.8)
XYZxyz(70.9930, 82.4056, 32.5840)
Luminance0.8240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F080 #8080F0
analogous
#F0B880 #F0F080 #B8F080
triadic
#F0F080 #80F0F0 #F080F0
tetradic
#F0F080 #80F0B8 #8080F0 #F080B8
square
#F0F080 #80F0B8 #8080F0 #F080B8
split-complementary
#F0F080 #80B8F0 #B880F0
monochromatic
#DCDC1A #EAEA49 #F0F080 #F6F6B7 #FCFCE4

Accessibility & contrast

On white

1.20
#F0F080 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.48
#F0F080 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F080
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F080#FFFFFF#000000##000000
##F0F0801.001.2017.4817.48
#FFFFFF1.201.0021.0021.00
#00000017.4821.001.001.00
##00000017.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE876
Deuteranopia (green-blind)
#FFEC85
Tritanopia (blue-blind)
#FEE4D6
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f0f080;
/* rgb */ color: rgb(240, 240, 128);
/* oklch */ color: oklch(93.2% 0.135 108.8);
Tailwind
colors: {
  custom: {
    50: '#f7f4a7',
    500: '#f0f080',
    950: '#000000',
  },
}
SCSS
$custom: #f0f080;
$custom-light: #f7f4a7;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f080",
  "rgb": {
    "r": 240,
    "g": 240,
    "b": 128
  },
  "hsl": {
    "h": 60,
    "s": 78.873,
    "l": 72.157
  },
  "oklch": {
    "l": 0.93227,
    "c": 0.13501,
    "h": 108.8
  },
  "luminance": 0.82404
}

Semantic roles & 50–950 ramp

primary
#F0F080
secondary
#4A4ACB
accent
#0ADB0A
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#171710
muted
#858580

Preview Lab

Preview with #F0F080

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

Preview Lab → · Contrast checker → · Palette generator →

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