#F2EB99#F2EB99

#F2EB99 is a very light, moderate yellow. Relative luminance 0.806; OKLCH L 92.7% C 0.103 H 104.0°. Best body text is #000000 at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#F2EB99
RGBrgb(242, 235, 153)
HSLhsl(55, 77%, 77%)
HSVhsv(55, 37%, 95%)
CMYKcmyk(0%, 2.9%, 36.8%, 5.1%)
CIE-LABlab(91.95, -9.35, 40.66)
CIE-LCHlch(91.95, 41.72, 102.95°)
OKLaboklab(92.74% -0.0249 0.0999)
OKLCHoklch(92.74% 0.103 104)
XYZxyz(72.0771, 80.5955, 41.8904)
Luminance0.8059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EB99 #99A0F2
analogous
#F2BF99 #F2EB99 #CCF299
triadic
#F2EB99 #99F2EB #EB99F2
tetradic
#F2EB99 #99F2BF #99A0F2 #F299CC
square
#F2EB99 #99F2BF #99A0F2 #F299CC
split-complementary
#F2EB99 #99CCF2 #BF99F2
monochromatic
#E4D62C #EBE063 #F2EB99 #F9F6CF #FCFAE4

Accessibility & contrast

On white

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

On black

17.12
#F2EB99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EB99
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EB99#FFFFFF#000000##000000
##F2EB991.001.2317.1217.12
#FFFFFF1.231.0021.0021.00
#00000017.1221.001.001.00
##00000017.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E593
Deuteranopia (green-blind)
#FBEA9C
Tritanopia (blue-blind)
#FEE1D6
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2eb99;
/* rgb */ color: rgb(242, 235, 153);
/* oklch */ color: oklch(92.7% 0.103 104.0);
Tailwind
colors: {
  custom: {
    50: '#f7f1b8',
    500: '#f2eb99',
    950: '#000000',
  },
}
SCSS
$custom: #f2eb99;
$custom-light: #f7f1b8;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eb99",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 153
  },
  "hsl": {
    "h": 55.281,
    "s": 77.391,
    "l": 77.451
  },
  "oklch": {
    "l": 0.92735,
    "c": 0.10295,
    "h": 104
  },
  "luminance": 0.80594
}

Semantic roles & 50–950 ramp

primary
#F2EB99
secondary
#6068D0
accent
#1CDA0C
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F2EB99

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

Preview Lab → · Contrast checker → · Palette generator →

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