#F0E061#F0E061

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

Color values

HEX#F0E061
RGBrgb(240, 224, 97)
HSLhsl(53, 83%, 66%)
HSVhsv(53, 60%, 94%)
CMYKcmyk(0%, 6.7%, 59.6%, 5.9%)
CIE-LABlab(88.31, -9.64, 62.60)
CIE-LCHlch(88.31, 63.34, 98.75°)
OKLaboklab(89.59% -0.031 0.1439)
OKLCHoklch(89.59% 0.147 102.2)
XYZxyz(64.7509, 72.7021, 21.9291)
Luminance0.7270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E061 #6171F0
analogous
#F09861 #F0E061 #B8F061
triadic
#F0E061 #61F0E0 #E061F0
tetradic
#F0E061 #61F098 #6171F0 #F061B8
square
#F0E061 #61F098 #6171F0 #F061B8
split-complementary
#F0E061 #61B8F0 #9861F0
monochromatic
#C4B013 #EBD529 #F0E061 #F5EB99 #FBF6D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0E061#FFFFFF#000000##000000
##F0E0611.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)
#F3DA53
Deuteranopia (green-blind)
#F7E168
Tritanopia (blue-blind)
#FFD2C5
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f0e061;
/* rgb */ color: rgb(240, 224, 97);
/* oklch */ color: oklch(89.6% 0.147 102.2);
Tailwind
colors: {
  custom: {
    50: '#f8e992',
    500: '#f0e061',
    950: '#000000',
  },
}
SCSS
$custom: #f0e061;
$custom-light: #f8e992;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e061",
  "rgb": {
    "r": 240,
    "g": 224,
    "b": 97
  },
  "hsl": {
    "h": 53.287,
    "s": 82.659,
    "l": 66.078
  },
  "oklch": {
    "l": 0.89588,
    "c": 0.14716,
    "h": 102.2
  },
  "luminance": 0.727
}

Semantic roles & 50–950 ramp

primary
#F0E061
secondary
#3444C2
accent
#1FDF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0E061

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

Preview Lab → · Contrast checker → · Palette generator →

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