#F2E896#F2E896

#F2E896 is a very light, moderate yellow. Relative luminance 0.788; OKLCH L 92.1% C 0.103 H 102.2°. Best body text is #000000 at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#F2E896
RGBrgb(242, 232, 150)
HSLhsl(53, 78%, 77%)
HSVhsv(53, 38%, 95%)
CMYKcmyk(0%, 4.1%, 38%, 5.1%)
CIE-LABlab(91.14, -8.18, 41.11)
CIE-LCHlch(91.14, 41.91, 101.26°)
OKLaboklab(92.08% -0.0218 0.1008)
OKLCHoklch(92.08% 0.103 102.2)
XYZxyz(70.9808, 78.7943, 40.3180)
Luminance0.7879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E896 #96A0F2
analogous
#F2BA96 #F2E896 #CEF296
triadic
#F2E896 #96F2E8 #E896F2
tetradic
#F2E896 #96F2BA #96A0F2 #F296CE
square
#F2E896 #96F2BA #96A0F2 #F296CE
split-complementary
#F2E896 #96CEF2 #BA96F2
monochromatic
#E5D029 #EBDC60 #F2E896 #F9F4CC #FCF9E4

Accessibility & contrast

On white

1.25
#F2E896 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.76
#F2E896 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E896
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E896#FFFFFF#000000##000000
##F2E8961.001.2516.7616.76
#FFFFFF1.251.0021.0021.00
#00000016.7621.001.001.00
##00000016.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E390
Deuteranopia (green-blind)
#F9E899
Tritanopia (blue-blind)
#FFDDD3
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2e896;
/* rgb */ color: rgb(242, 232, 150);
/* oklch */ color: oklch(92.1% 0.103 102.2);
Tailwind
colors: {
  custom: {
    50: '#f7efb6',
    500: '#f2e896',
    950: '#000000',
  },
}
SCSS
$custom: #f2e896;
$custom-light: #f7efb6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e896",
  "rgb": {
    "r": 242,
    "g": 232,
    "b": 150
  },
  "hsl": {
    "h": 53.478,
    "s": 77.966,
    "l": 76.863
  },
  "oklch": {
    "l": 0.92078,
    "c": 0.10311,
    "h": 102.2
  },
  "luminance": 0.78792
}

Semantic roles & 50–950 ramp

primary
#F2E896
secondary
#5D69CF
accent
#22DA0B
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F2E896

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

Preview Lab → · Contrast checker → · Palette generator →

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