#F0E466#F0E466

#F0E466 is a very light, vivid yellow. Relative luminance 0.750; OKLCH L 90.5% C 0.147 H 103.9°. Best body text is #000000 at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#F0E466
RGBrgb(240, 228, 102)
HSLhsl(55, 82%, 67%)
HSVhsv(55, 58%, 94%)
CMYKcmyk(0%, 5%, 57.5%, 5.9%)
CIE-LABlab(89.38, -11.29, 61.62)
CIE-LCHlch(89.38, 62.65, 100.38°)
OKLaboklab(90.46% -0.0352 0.1424)
OKLCHoklch(90.46% 0.147 103.9)
XYZxyz(66.0791, 74.9737, 23.5584)
Luminance0.7497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E466 #6672F0
analogous
#F09F66 #F0E466 #B7F066
triadic
#F0E466 #66F0E4 #E466F0
tetradic
#F0E466 #66F09F #6672F0 #F066B7
square
#F0E466 #66F09F #6672F0 #F066B7
split-complementary
#F0E466 #66B7F0 #9F66F0
monochromatic
#C8B814 #EBDA2E #F0E466 #F5EE9E #FBF8D5

Accessibility & contrast

On white

1.31
#F0E466 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.99
#F0E466 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E466
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E466#FFFFFF#000000##000000
##F0E4661.001.3115.9915.99
#FFFFFF1.311.0021.0021.00
#00000015.9921.001.001.00
##00000015.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD59
Deuteranopia (green-blind)
#FAE46D
Tritanopia (blue-blind)
#FFD6C9
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f0e466;
/* rgb */ color: rgb(240, 228, 102);
/* oklch */ color: oklch(90.5% 0.147 103.9);
Tailwind
colors: {
  custom: {
    50: '#f8ec96',
    500: '#f0e466',
    950: '#000000',
  },
}
SCSS
$custom: #f0e466;
$custom-light: #f8ec96;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e466",
  "rgb": {
    "r": 240,
    "g": 228,
    "b": 102
  },
  "hsl": {
    "h": 54.783,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.90456,
    "c": 0.14667,
    "h": 103.9
  },
  "luminance": 0.74971
}

Semantic roles & 50–950 ramp

primary
#F0E466
secondary
#3542C5
accent
#1ADF07
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0E466

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

Preview Lab → · Contrast checker → · Palette generator →

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