#F2E296#F2E296

#F2E296 is a very light, moderate yellow. Relative luminance 0.755; OKLCH L 90.9% C 0.097 H 97.7°. Best body text is #000000 at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#F2E296
RGBrgb(242, 226, 150)
HSLhsl(50, 78%, 77%)
HSVhsv(50, 38%, 95%)
CMYKcmyk(0%, 6.6%, 38%, 5.1%)
CIE-LABlab(89.61, -5.17, 39.14)
CIE-LCHlch(89.61, 39.48, 97.52°)
OKLaboklab(90.87% -0.0131 0.0962)
OKLCHoklch(90.87% 0.097 97.7)
XYZxyz(69.3206, 75.4740, 39.7646)
Luminance0.7547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E296 #96A6F2
analogous
#F2B496 #F2E296 #D4F296
triadic
#F2E296 #96F2E2 #E296F2
tetradic
#F2E296 #96F2B4 #96A6F2 #F296D4
square
#F2E296 #96F2B4 #96A6F2 #F296D4
split-complementary
#F2E296 #96D4F2 #B496F2
monochromatic
#E5C429 #EBD360 #F2E296 #F9F1CC #FCF7E4

Accessibility & contrast

On white

1.30
#F2E296 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.09
#F2E296 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E296
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E296#FFFFFF#000000##000000
##F2E2961.001.3016.0916.09
#FFFFFF1.301.0021.0021.00
#00000016.0921.001.001.00
##00000016.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DE90
Deuteranopia (green-blind)
#F5E499
Tritanopia (blue-blind)
#FFD8CF
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f2e296;
/* rgb */ color: rgb(242, 226, 150);
/* oklch */ color: oklch(90.9% 0.097 97.7);
Tailwind
colors: {
  custom: {
    50: '#f7ebb5',
    500: '#f2e296',
    950: '#000000',
  },
}
SCSS
$custom: #f2e296;
$custom-light: #f7ebb5;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e296",
  "rgb": {
    "r": 242,
    "g": 226,
    "b": 150
  },
  "hsl": {
    "h": 49.565,
    "s": 77.966,
    "l": 76.863
  },
  "oklch": {
    "l": 0.9087,
    "c": 0.09713,
    "h": 97.7
  },
  "luminance": 0.75472
}

Semantic roles & 50–950 ramp

primary
#F2E296
secondary
#5D71CF
accent
#2FDA0B
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F2E296

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

Preview Lab → · Contrast checker → · Palette generator →

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