#F0EF55#F0EF55

#F0EF55 is a very light, vivid yellow. Relative luminance 0.809; OKLCH L 92.6% C 0.170 H 109.0°. Best body text is #000000 at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#F0EF55
RGBrgb(240, 239, 85)
HSLhsl(60, 84%, 64%)
HSVhsv(60, 65%, 94%)
CMYKcmyk(0%, 0.4%, 64.6%, 5.9%)
CIE-LABlab(92.09, -17.76, 71.54)
CIE-LCHlch(92.09, 73.72, 103.94°)
OKLaboklab(92.57% -0.0553 0.1611)
OKLCHoklch(92.57% 0.17 109)
XYZxyz(68.4437, 80.9161, 20.6056)
Luminance0.8091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EF55 #5556F0
analogous
#F0A155 #F0EF55 #A3F055
triadic
#F0EF55 #55F0EF #EF55F0
tetradic
#F0EF55 #55F0A1 #5556F0 #F055A3
square
#F0EF55 #55F0A1 #5556F0 #F055A3
split-complementary
#F0EF55 #55A3F0 #A155F0
monochromatic
#BAB910 #EBEA1D #F0EF55 #F5F48D #FAFAC5

Accessibility & contrast

On white

1.22
#F0EF55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.18
#F0EF55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EF55
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EF55#FFFFFF#000000##000000
##F0EF551.001.2217.1817.18
#FFFFFF1.221.0021.0021.00
#00000017.1821.001.001.00
##00000017.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE640
Deuteranopia (green-blind)
#FFEB5F
Tritanopia (blue-blind)
#FFE0D0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f0ef55;
/* rgb */ color: rgb(240, 239, 85);
/* oklch */ color: oklch(92.6% 0.170 109.0);
Tailwind
colors: {
  custom: {
    50: '#f8f48c',
    500: '#f0ef55',
    950: '#000000',
  },
}
SCSS
$custom: #f0ef55;
$custom-light: #f8f48c;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ef55",
  "rgb": {
    "r": 240,
    "g": 239,
    "b": 85
  },
  "hsl": {
    "h": 59.613,
    "s": 83.784,
    "l": 63.725
  },
  "oklch": {
    "l": 0.92573,
    "c": 0.17033,
    "h": 109
  },
  "luminance": 0.80914
}

Semantic roles & 50–950 ramp

primary
#F0EF55
secondary
#3031B9
accent
#07E005
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0EF55

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

Preview Lab → · Contrast checker → · Palette generator →

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