#F2EF99#F2EF99

#F2EF99 is a very light, moderate yellow. Relative luminance 0.829; OKLCH L 93.5% C 0.107 H 106.6°. Best body text is #000000 at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#F2EF99
RGBrgb(242, 239, 153)
HSLhsl(58, 77%, 77%)
HSVhsv(58, 37%, 95%)
CMYKcmyk(0%, 1.2%, 36.8%, 5.1%)
CIE-LABlab(92.98, -11.34, 41.98)
CIE-LCHlch(92.98, 43.49, 105.11°)
OKLaboklab(93.55% -0.0306 0.1029)
OKLCHoklch(93.55% 0.107 106.6)
XYZxyz(73.2352, 82.9117, 42.2765)
Luminance0.8291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EF99 #999CF2
analogous
#F2C399 #F2EF99 #C8F299
triadic
#F2EF99 #99F2EF #EF99F2
tetradic
#F2EF99 #99F2C3 #999CF2 #F299C8
square
#F2EF99 #99F2C3 #999CF2 #F299C8
split-complementary
#F2EF99 #99C8F2 #C399F2
monochromatic
#E4DE2C #EBE663 #F2EF99 #F9F8CF #FCFBE4

Accessibility & contrast

On white

1.19
#F2EF99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.58
#F2EF99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EF99
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EF99#FFFFFF#000000##000000
##F2EF991.001.1917.5817.58
#FFFFFF1.191.0021.0021.00
#00000017.5821.001.001.00
##00000017.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE993
Deuteranopia (green-blind)
#FFED9D
Tritanopia (blue-blind)
#FEE5DA
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f2ef99;
/* rgb */ color: rgb(242, 239, 153);
/* oklch */ color: oklch(93.5% 0.107 106.6);
Tailwind
colors: {
  custom: {
    50: '#f7f4b8',
    500: '#f2ef99',
    950: '#000000',
  },
}
SCSS
$custom: #f2ef99;
$custom-light: #f7f4b8;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ef99",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 153
  },
  "hsl": {
    "h": 57.978,
    "s": 77.391,
    "l": 77.451
  },
  "oklch": {
    "l": 0.93547,
    "c": 0.10738,
    "h": 106.6
  },
  "luminance": 0.8291
}

Semantic roles & 50–950 ramp

primary
#F2EF99
secondary
#6063D0
accent
#13DA0C
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #F2EF99

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

Preview Lab → · Contrast checker → · Palette generator →

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