#F0F060#F0F060

#F0F060 is a very light, vivid yellow. Relative luminance 0.817; OKLCH L 92.9% C 0.163 H 109.2°. Best body text is #000000 at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#F0F060
RGBrgb(240, 240, 96)
HSLhsl(60, 83%, 66%)
HSVhsv(60, 60%, 94%)
CMYKcmyk(0%, 0%, 60%, 5.9%)
CIE-LABlab(92.44, -17.58, 67.53)
CIE-LCHlch(92.44, 69.78, 104.59°)
OKLaboklab(92.88% -0.0537 0.1542)
OKLCHoklch(92.88% 0.163 109.2)
XYZxyz(69.2087, 81.6919, 23.1865)
Luminance0.8169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F060 #6060F0
analogous
#F0A860 #F0F060 #A8F060
triadic
#F0F060 #60F0F0 #F060F0
tetradic
#F0F060 #60F0A8 #6060F0 #F060A8
square
#F0F060 #60F0A8 #6060F0 #F060A8
split-complementary
#F0F060 #60A8F0 #A860F0
monochromatic
#C3C312 #EBEB28 #F0F060 #F5F598 #FBFBD0

Accessibility & contrast

On white

1.21
#F0F060 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.34
#F0F060 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F060
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F060#FFFFFF#000000##000000
##F0F0601.001.2117.3417.34
#FFFFFF1.211.0021.0021.00
#00000017.3421.001.001.00
##00000017.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE74F
Deuteranopia (green-blind)
#FFEC69
Tritanopia (blue-blind)
#FFE2D2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f0f060;
/* rgb */ color: rgb(240, 240, 96);
/* oklch */ color: oklch(92.9% 0.163 109.2);
Tailwind
colors: {
  custom: {
    50: '#f8f493',
    500: '#f0f060',
    950: '#000000',
  },
}
SCSS
$custom: #f0f060;
$custom-light: #f8f493;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f060",
  "rgb": {
    "r": 240,
    "g": 240,
    "b": 96
  },
  "hsl": {
    "h": 60,
    "s": 82.759,
    "l": 65.882
  },
  "oklch": {
    "l": 0.92875,
    "c": 0.16327,
    "h": 109.2
  },
  "luminance": 0.8169
}

Semantic roles & 50–950 ramp

primary
#F0F060
secondary
#3333C1
accent
#06DF06
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0F060

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

Preview Lab → · Contrast checker → · Palette generator →

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