#F2EA99#F2EA99

#F2EA99 is a very light, moderate yellow. Relative luminance 0.800; OKLCH L 92.5% C 0.102 H 103.3°. Best body text is #000000 at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#F2EA99
RGBrgb(242, 234, 153)
HSLhsl(55, 77%, 77%)
HSVhsv(55, 37%, 95%)
CMYKcmyk(0%, 3.3%, 36.8%, 5.1%)
CIE-LABlab(91.70, -8.85, 40.33)
CIE-LCHlch(91.70, 41.29, 102.38°)
OKLaboklab(92.53% -0.0235 0.0991)
OKLCHoklch(92.53% 0.102 103.3)
XYZxyz(71.7916, 80.0245, 41.7953)
Luminance0.8002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA99 #99A1F2
analogous
#F2BE99 #F2EA99 #CDF299
triadic
#F2EA99 #99F2EA #EA99F2
tetradic
#F2EA99 #99F2BE #99A1F2 #F299CD
square
#F2EA99 #99F2BE #99A1F2 #F299CD
split-complementary
#F2EA99 #99CDF2 #BE99F2
monochromatic
#E4D42C #EBDF63 #F2EA99 #F9F5CF #FCF9E4

Accessibility & contrast

On white

1.23
#F2EA99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.00
#F2EA99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EA99
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EA99#FFFFFF#000000##000000
##F2EA991.001.2317.0017.00
#FFFFFF1.231.0021.0021.00
#00000017.0021.001.001.00
##00000017.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E593
Deuteranopia (green-blind)
#FBE99C
Tritanopia (blue-blind)
#FEE0D6
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2ea99;
/* rgb */ color: rgb(242, 234, 153);
/* oklch */ color: oklch(92.5% 0.102 103.3);
Tailwind
colors: {
  custom: {
    50: '#f7f0b8',
    500: '#f2ea99',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea99;
$custom-light: #f7f0b8;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea99",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 153
  },
  "hsl": {
    "h": 54.607,
    "s": 77.391,
    "l": 77.451
  },
  "oklch": {
    "l": 0.92532,
    "c": 0.10187,
    "h": 103.3
  },
  "luminance": 0.80023
}

Semantic roles & 50–950 ramp

primary
#F2EA99
secondary
#606AD0
accent
#1EDA0C
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F2EA99

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

Preview Lab → · Contrast checker → · Palette generator →

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