#F0E160#F0E160

#F0E160 is a very light, vivid yellow. Relative luminance 0.732; OKLCH L 89.8% C 0.149 H 102.7°. Best body text is #000000 at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#F0E160
RGBrgb(240, 225, 96)
HSLhsl(54, 83%, 66%)
HSVhsv(54, 60%, 94%)
CMYKcmyk(0%, 6.3%, 60%, 5.9%)
CIE-LABlab(88.55, -10.21, 63.31)
CIE-LCHlch(88.55, 64.12, 99.16°)
OKLaboklab(89.78% -0.0327 0.1452)
OKLCHoklch(89.78% 0.149 102.7)
XYZxyz(64.9741, 73.2227, 21.7749)
Luminance0.7322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E160 #606FF0
analogous
#F09960 #F0E160 #B7F060
triadic
#F0E160 #60F0E1 #E160F0
tetradic
#F0E160 #60F099 #606FF0 #F060B7
square
#F0E160 #60F099 #606FF0 #F060B7
split-complementary
#F0E160 #60B7F0 #9960F0
monochromatic
#C3B112 #EBD628 #F0E160 #F5EC98 #FBF6D0

Accessibility & contrast

On white

1.34
#F0E160 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.64
#F0E160 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E160
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E160#FFFFFF#000000##000000
##F0E1601.001.3415.6415.64
#FFFFFF1.341.0021.0021.00
#00000015.6421.001.001.00
##00000015.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0e160;
/* rgb */ color: rgb(240, 225, 96);
/* oklch */ color: oklch(89.8% 0.149 102.7);
Tailwind
colors: {
  custom: {
    50: '#f8ea92',
    500: '#f0e160',
    950: '#000000',
  },
}
SCSS
$custom: #f0e160;
$custom-light: #f8ea92;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e160",
  "rgb": {
    "r": 240,
    "g": 225,
    "b": 96
  },
  "hsl": {
    "h": 53.75,
    "s": 82.759,
    "l": 65.882
  },
  "oklch": {
    "l": 0.89782,
    "c": 0.14887,
    "h": 102.7
  },
  "luminance": 0.7322
}

Semantic roles & 50–950 ramp

primary
#F0E160
secondary
#3342C1
accent
#1DDF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0E160

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

Preview Lab → · Contrast checker → · Palette generator →

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