#F2E596#F2E596

#F2E596 is a very light, moderate yellow. Relative luminance 0.771; OKLCH L 91.5% C 0.100 H 100.0°. Best body text is #000000 at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#F2E596
RGBrgb(242, 229, 150)
HSLhsl(52, 78%, 77%)
HSVhsv(52, 38%, 95%)
CMYKcmyk(0%, 5.4%, 38%, 5.1%)
CIE-LABlab(90.38, -6.68, 40.12)
CIE-LCHlch(90.38, 40.67, 99.45°)
OKLaboklab(91.47% -0.0174 0.0985)
OKLCHoklch(91.47% 0.1 100)
XYZxyz(70.1435, 77.1198, 40.0389)
Luminance0.7712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E596 #96A3F2
analogous
#F2B796 #F2E596 #D1F296
triadic
#F2E596 #96F2E5 #E596F2
tetradic
#F2E596 #96F2B7 #96A3F2 #F296D1
square
#F2E596 #96F2B7 #96A3F2 #F296D1
split-complementary
#F2E596 #96D1F2 #B796F2
monochromatic
#E5CA29 #EBD860 #F2E596 #F9F2CC #FCF8E4

Accessibility & contrast

On white

1.28
#F2E596 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.42
#F2E596 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E596
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E596#FFFFFF#000000##000000
##F2E5961.001.2816.4216.42
#FFFFFF1.281.0021.0021.00
#00000016.4221.001.001.00
##00000016.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3E090
Deuteranopia (green-blind)
#F7E699
Tritanopia (blue-blind)
#FFDAD1
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f2e596;
/* rgb */ color: rgb(242, 229, 150);
/* oklch */ color: oklch(91.5% 0.100 100.0);
Tailwind
colors: {
  custom: {
    50: '#f7edb6',
    500: '#f2e596',
    950: '#000000',
  },
}
SCSS
$custom: #f2e596;
$custom-light: #f7edb6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e596",
  "rgb": {
    "r": 242,
    "g": 229,
    "b": 150
  },
  "hsl": {
    "h": 51.522,
    "s": 77.966,
    "l": 76.863
  },
  "oklch": {
    "l": 0.91473,
    "c": 0.10004,
    "h": 100
  },
  "luminance": 0.77118
}

Semantic roles & 50–950 ramp

primary
#F2E596
secondary
#5D6DCF
accent
#29DA0B
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F2E596

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

Preview Lab → · Contrast checker → · Palette generator →

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