#F0EA55#F0EA55

#F0EA55 is a very light, vivid yellow. Relative luminance 0.780; OKLCH L 91.5% C 0.166 H 107.0°. Best body text is #000000 at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#F0EA55
RGBrgb(240, 234, 85)
HSLhsl(58, 84%, 64%)
HSVhsv(58, 65%, 94%)
CMYKcmyk(0%, 2.5%, 64.6%, 5.9%)
CIE-LABlab(90.79, -15.33, 70.20)
CIE-LCHlch(90.79, 71.86, 102.32°)
OKLaboklab(91.54% -0.0484 0.1583)
OKLCHoklch(91.54% 0.166 107)
XYZxyz(67.0001, 78.0290, 20.1244)
Luminance0.7803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EA55 #555BF0
analogous
#F09C55 #F0EA55 #A8F055
triadic
#F0EA55 #55F0EA #EA55F0
tetradic
#F0EA55 #55F09C #555BF0 #F055A8
square
#F0EA55 #55F09C #555BF0 #F055A8
split-complementary
#F0EA55 #55A8F0 #9C55F0
monochromatic
#BAB410 #EBE31D #F0EA55 #F5F18D #FAF8C5

Accessibility & contrast

On white

1.26
#F0EA55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.61
#F0EA55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EA55
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EA55#FFFFFF#000000##000000
##F0EA551.001.2616.6116.61
#FFFFFF1.261.0021.0021.00
#00000016.6121.001.001.00
##00000016.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE141
Deuteranopia (green-blind)
#FFE75E
Tritanopia (blue-blind)
#FFDBCC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f0ea55;
/* rgb */ color: rgb(240, 234, 85);
/* oklch */ color: oklch(91.5% 0.166 107.0);
Tailwind
colors: {
  custom: {
    50: '#f8f08c',
    500: '#f0ea55',
    950: '#000000',
  },
}
SCSS
$custom: #f0ea55;
$custom-light: #f8f08c;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ea55",
  "rgb": {
    "r": 240,
    "g": 234,
    "b": 85
  },
  "hsl": {
    "h": 57.677,
    "s": 83.784,
    "l": 63.725
  },
  "oklch": {
    "l": 0.91535,
    "c": 0.16552,
    "h": 107
  },
  "luminance": 0.78027
}

Semantic roles & 50–950 ramp

primary
#F0EA55
secondary
#3036B9
accent
#0EE005
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F0EA55

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

Preview Lab → · Contrast checker → · Palette generator →

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