#F0E166#F0E166

#F0E166 is a very light, vivid yellow. Relative luminance 0.733; OKLCH L 89.8% C 0.144 H 102.4°. Best body text is #000000 at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#F0E166
RGBrgb(240, 225, 102)
HSLhsl(53, 82%, 67%)
HSVhsv(53, 58%, 94%)
CMYKcmyk(0%, 6.3%, 57.5%, 5.9%)
CIE-LABlab(88.61, -9.79, 60.76)
CIE-LCHlch(88.61, 61.54, 99.16°)
OKLaboklab(89.84% -0.0309 0.1405)
OKLCHoklch(89.84% 0.144 102.4)
XYZxyz(65.2610, 73.3374, 23.2857)
Luminance0.7333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E166 #6675F0
analogous
#F09C66 #F0E166 #BAF066
triadic
#F0E166 #66F0E1 #E166F0
tetradic
#F0E166 #66F09C #6675F0 #F066BA
square
#F0E166 #66F09C #6675F0 #F066BA
split-complementary
#F0E166 #66BAF0 #9C66F0
monochromatic
#C8B414 #EBD62E #F0E166 #F5EC9E #FBF7D5

Accessibility & contrast

On white

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

On black

15.67
#F0E166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E166
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E166#FFFFFF#000000##000000
##F0E1661.001.3415.6715.67
#FFFFFF1.341.0021.0021.00
#00000015.6721.001.001.00
##00000015.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DB59
Deuteranopia (green-blind)
#F8E16C
Tritanopia (blue-blind)
#FFD3C6
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f0e166;
/* rgb */ color: rgb(240, 225, 102);
/* oklch */ color: oklch(89.8% 0.144 102.4);
Tailwind
colors: {
  custom: {
    50: '#f8ea96',
    500: '#f0e166',
    950: '#000000',
  },
}
SCSS
$custom: #f0e166;
$custom-light: #f8ea96;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e166",
  "rgb": {
    "r": 240,
    "g": 225,
    "b": 102
  },
  "hsl": {
    "h": 53.478,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.89843,
    "c": 0.1439,
    "h": 102.4
  },
  "luminance": 0.73335
}

Semantic roles & 50–950 ramp

primary
#F0E166
secondary
#3545C5
accent
#1EDF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0E166

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

Preview Lab → · Contrast checker → · Palette generator →

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