#F2EF96#F2EF96

#F2EF96 is a very light, moderate yellow. Relative luminance 0.828; OKLCH L 93.5% C 0.111 H 106.7°. Best body text is #000000 at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#F2EF96
RGBrgb(242, 239, 150)
HSLhsl(58, 78%, 77%)
HSVhsv(58, 38%, 95%)
CMYKcmyk(0%, 1.2%, 38%, 5.1%)
CIE-LABlab(92.93, -11.66, 43.41)
CIE-LCHlch(92.93, 44.95, 105.04°)
OKLaboklab(93.5% -0.0318 0.106)
OKLCHoklch(93.5% 0.111 106.7)
XYZxyz(72.9905, 82.8138, 40.9879)
Luminance0.8281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EF96 #9699F2
analogous
#F2C196 #F2EF96 #C7F296
triadic
#F2EF96 #96F2EF #EF96F2
tetradic
#F2EF96 #96F2C1 #9699F2 #F296C7
square
#F2EF96 #96F2C1 #9699F2 #F296C7
split-complementary
#F2EF96 #96C7F2 #C196F2
monochromatic
#E5DE29 #EBE760 #F2EF96 #F9F7CC #FCFBE4

Accessibility & contrast

On white

1.20
#F2EF96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.56
#F2EF96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EF96
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EF96#FFFFFF#000000##000000
##F2EF961.001.2017.5617.56
#FFFFFF1.201.0021.0021.00
#00000017.5621.001.001.00
##00000017.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE88F
Deuteranopia (green-blind)
#FFED9A
Tritanopia (blue-blind)
#FEE4D9
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f2ef96;
/* rgb */ color: rgb(242, 239, 150);
/* oklch */ color: oklch(93.5% 0.111 106.7);
Tailwind
colors: {
  custom: {
    50: '#f7f4b6',
    500: '#f2ef96',
    950: '#000000',
  },
}
SCSS
$custom: #f2ef96;
$custom-light: #f7f4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ef96",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 150
  },
  "hsl": {
    "h": 58.043,
    "s": 77.966,
    "l": 76.863
  },
  "oklch": {
    "l": 0.93499,
    "c": 0.1107,
    "h": 106.7
  },
  "luminance": 0.82812
}

Semantic roles & 50–950 ramp

primary
#F2EF96
secondary
#5D61CF
accent
#12DA0B
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #F2EF96

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

Preview Lab → · Contrast checker → · Palette generator →

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