#F0E060#F0E060

#F0E060 is a very light, vivid yellow. Relative luminance 0.727; OKLCH L 89.6% C 0.148 H 102.2°. Best body text is #000000 at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#F0E060
RGBrgb(240, 224, 96)
HSLhsl(53, 83%, 66%)
HSVhsv(53, 60%, 94%)
CMYKcmyk(0%, 6.7%, 60%, 5.9%)
CIE-LABlab(88.30, -9.71, 63.03)
CIE-LCHlch(88.30, 63.77, 98.76°)
OKLaboklab(89.58% -0.0313 0.1446)
OKLCHoklch(89.58% 0.148 102.2)
XYZxyz(64.7046, 72.6836, 21.6851)
Luminance0.7268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E060 #6070F0
analogous
#F09860 #F0E060 #B8F060
triadic
#F0E060 #60F0E0 #E060F0
tetradic
#F0E060 #60F098 #6070F0 #F060B8
square
#F0E060 #60F098 #6070F0 #F060B8
split-complementary
#F0E060 #60B8F0 #9860F0
monochromatic
#C3B012 #EBD528 #F0E060 #F5EB98 #FBF6D0

Accessibility & contrast

On white

1.35
#F0E060 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.54
#F0E060 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E060
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E060#FFFFFF#000000##000000
##F0E0601.001.3515.5415.54
#FFFFFF1.351.0021.0021.00
#00000015.5421.001.001.00
##00000015.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D952
Deuteranopia (green-blind)
#F8E167
Tritanopia (blue-blind)
#FFD2C4
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f0e060;
/* rgb */ color: rgb(240, 224, 96);
/* oklch */ color: oklch(89.6% 0.148 102.2);
Tailwind
colors: {
  custom: {
    50: '#f8e992',
    500: '#f0e060',
    950: '#000000',
  },
}
SCSS
$custom: #f0e060;
$custom-light: #f8e992;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e060",
  "rgb": {
    "r": 240,
    "g": 224,
    "b": 96
  },
  "hsl": {
    "h": 53.333,
    "s": 82.759,
    "l": 65.882
  },
  "oklch": {
    "l": 0.89578,
    "c": 0.14798,
    "h": 102.2
  },
  "luminance": 0.72681
}

Semantic roles & 50–950 ramp

primary
#F0E060
secondary
#3343C1
accent
#1EDF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0E060

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

Preview Lab → · Contrast checker → · Palette generator →

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