#F0EC99#F0EC99

#F0EC99 is a very light, moderate yellow. Relative luminance 0.808; OKLCH L 92.8% C 0.104 H 105.9°. Best body text is #000000 at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#F0EC99
RGBrgb(240, 236, 153)
HSLhsl(57, 74%, 77%)
HSVhsv(57, 36%, 94%)
CMYKcmyk(0%, 1.7%, 36.3%, 5.9%)
CIE-LABlab(92.05, -10.61, 40.76)
CIE-LCHlch(92.05, 42.12, 104.60°)
OKLaboklab(92.78% -0.0285 0.1001)
OKLCHoklch(92.78% 0.104 105.9)
XYZxyz(71.6813, 80.8176, 41.9541)
Luminance0.8082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EC99 #999DF0
analogous
#F0C099 #F0EC99 #C9F099
triadic
#F0EC99 #99F0EC #EC99F0
tetradic
#F0EC99 #99F0C0 #999DF0 #F099C9
square
#F0EC99 #99F0C0 #999DF0 #F099C9
split-complementary
#F0EC99 #99C9F0 #C099F0
monochromatic
#E0D82E #E8E264 #F0EC99 #F8F6CE #FBFAE4

Accessibility & contrast

On white

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

On black

17.16
#F0EC99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EC99
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EC99#FFFFFF#000000##000000
##F0EC991.001.2217.1617.16
#FFFFFF1.221.0021.0021.00
#00000017.1621.001.001.00
##00000017.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E693
Deuteranopia (green-blind)
#FCEA9C
Tritanopia (blue-blind)
#FCE2D7
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f0ec99;
/* rgb */ color: rgb(240, 236, 153);
/* oklch */ color: oklch(92.8% 0.104 105.9);
Tailwind
colors: {
  custom: {
    50: '#f6f2b8',
    500: '#f0ec99',
    950: '#000000',
  },
}
SCSS
$custom: #f0ec99;
$custom-light: #f6f2b8;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ec99",
  "rgb": {
    "r": 240,
    "g": 236,
    "b": 153
  },
  "hsl": {
    "h": 57.241,
    "s": 74.359,
    "l": 77.059
  },
  "oklch": {
    "l": 0.92775,
    "c": 0.10409,
    "h": 105.9
  },
  "luminance": 0.80816
}

Semantic roles & 50–950 ramp

primary
#F0EC99
secondary
#6065CD
accent
#18D60F
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F0EC99

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

Preview Lab → · Contrast checker → · Palette generator →

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