#F2EA96#F2EA96

#F2EA96 is a very light, moderate yellow. Relative luminance 0.799; OKLCH L 92.5% C 0.105 H 103.6°. Best body text is #000000 at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#F2EA96
RGBrgb(242, 234, 150)
HSLhsl(55, 78%, 77%)
HSVhsv(55, 38%, 95%)
CMYKcmyk(0%, 3.3%, 38%, 5.1%)
CIE-LABlab(91.65, -9.18, 41.76)
CIE-LCHlch(91.65, 42.76, 102.40°)
OKLaboklab(92.48% -0.0247 0.1023)
OKLCHoklch(92.48% 0.105 103.6)
XYZxyz(71.5469, 79.9267, 40.5067)
Luminance0.7993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA96 #969EF2
analogous
#F2BC96 #F2EA96 #CCF296
triadic
#F2EA96 #96F2EA #EA96F2
tetradic
#F2EA96 #96F2BC #969EF2 #F296CC
square
#F2EA96 #96F2BC #969EF2 #F296CC
split-complementary
#F2EA96 #96CCF2 #BC96F2
monochromatic
#E5D429 #EBDF60 #F2EA96 #F9F5CC #FCFAE4

Accessibility & contrast

On white

1.24
#F2EA96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.99
#F2EA96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EA96
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EA96#FFFFFF#000000##000000
##F2EA961.001.2416.9916.99
#FFFFFF1.241.0021.0021.00
#00000016.9921.001.001.00
##00000016.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E490
Deuteranopia (green-blind)
#FBE999
Tritanopia (blue-blind)
#FFDFD5
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2ea96;
/* rgb */ color: rgb(242, 234, 150);
/* oklch */ color: oklch(92.5% 0.105 103.6);
Tailwind
colors: {
  custom: {
    50: '#f7f0b6',
    500: '#f2ea96',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea96;
$custom-light: #f7f0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea96",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 150
  },
  "hsl": {
    "h": 54.783,
    "s": 77.966,
    "l": 76.863
  },
  "oklch": {
    "l": 0.92483,
    "c": 0.10522,
    "h": 103.6
  },
  "luminance": 0.79925
}

Semantic roles & 50–950 ramp

primary
#F2EA96
secondary
#5D67CF
accent
#1DDA0B
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F2EA96

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

Preview Lab → · Contrast checker → · Palette generator →

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