#F0F079#F0F079

#F0F079 is a very light, vivid yellow. Relative luminance 0.822; OKLCH L 93.1% C 0.142 H 108.9°. Best body text is #000000 at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#F0F079
RGBrgb(240, 240, 121)
HSLhsl(60, 80%, 71%)
HSVhsv(60, 50%, 94%)
CMYKcmyk(0%, 0%, 49.6%, 5.9%)
CIE-LABlab(92.68, -15.72, 56.88)
CIE-LCHlch(92.68, 59.01, 105.45°)
OKLaboklab(93.14% -0.0458 0.1342)
OKLCHoklch(93.14% 0.142 108.9)
XYZxyz(70.5481, 82.2276, 30.2407)
Luminance0.8223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F079 #7979F0
analogous
#F0B479 #F0F079 #B4F079
triadic
#F0F079 #79F0F0 #F079F0
tetradic
#F0F079 #79F0B4 #7979F0 #F079B4
square
#F0F079 #79F0B4 #7979F0 #F079B4
split-complementary
#F0F079 #79B4F0 #B479F0
monochromatic
#D7D718 #EAEA42 #F0F079 #F6F6B0 #FCFCE3

Accessibility & contrast

On white

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

On black

17.45
#F0F079 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F079
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F079#FFFFFF#000000##000000
##F0F0791.001.2017.4517.45
#FFFFFF1.201.0021.0021.00
#00000017.4521.001.001.00
##00000017.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86E
Deuteranopia (green-blind)
#FFEC7F
Tritanopia (blue-blind)
#FEE3D5
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f0f079;
/* rgb */ color: rgb(240, 240, 121);
/* oklch */ color: oklch(93.1% 0.142 108.9);
Tailwind
colors: {
  custom: {
    50: '#f7f4a2',
    500: '#f0f079',
    950: '#000000',
  },
}
SCSS
$custom: #f0f079;
$custom-light: #f7f4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f079",
  "rgb": {
    "r": 240,
    "g": 240,
    "b": 121
  },
  "hsl": {
    "h": 60,
    "s": 79.866,
    "l": 70.784
  },
  "oklch": {
    "l": 0.9314,
    "c": 0.14176,
    "h": 108.9
  },
  "luminance": 0.82226
}

Semantic roles & 50–950 ramp

primary
#F0F079
secondary
#4343CA
accent
#09DC09
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #F0F079

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

Preview Lab → · Contrast checker → · Palette generator →

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