#F2E199#F2E199

#F2E199 is a very light, moderate yellow. Relative luminance 0.750; OKLCH L 90.7% C 0.093 H 96.5°. Best body text is #000000 at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#F2E199
RGBrgb(242, 225, 153)
HSLhsl(49, 77%, 77%)
HSVhsv(49, 37%, 95%)
CMYKcmyk(0%, 7%, 36.8%, 5.1%)
CIE-LABlab(89.41, -4.33, 37.36)
CIE-LCHlch(89.41, 37.61, 96.61°)
OKLaboklab(90.72% -0.0105 0.0922)
OKLCHoklch(90.72% 0.093 96.5)
XYZxyz(69.2941, 75.0297, 40.9628)
Luminance0.7503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E199 #99AAF2
analogous
#F2B499 #F2E199 #D7F299
triadic
#F2E199 #99F2E1 #E199F2
tetradic
#F2E199 #99F2B4 #99AAF2 #F299D7
square
#F2E199 #99F2B4 #99AAF2 #F299D7
split-complementary
#F2E199 #99D7F2 #B499F2
monochromatic
#E4C12C #EBD163 #F2E199 #F9F1CF #FCF7E4

Accessibility & contrast

On white

1.31
#F2E199 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.01
#F2E199 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E199
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E199#FFFFFF#000000##000000
##F2E1991.001.3116.0116.01
#FFFFFF1.311.0021.0021.00
#00000016.0121.001.001.00
##00000016.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDD94
Deuteranopia (green-blind)
#F4E39C
Tritanopia (blue-blind)
#FFD7CF
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f2e199;
/* rgb */ color: rgb(242, 225, 153);
/* oklch */ color: oklch(90.7% 0.093 96.5);
Tailwind
colors: {
  custom: {
    50: '#f7eab8',
    500: '#f2e199',
    950: '#000000',
  },
}
SCSS
$custom: #f2e199;
$custom-light: #f7eab8;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e199",
  "rgb": {
    "r": 242,
    "g": 225,
    "b": 153
  },
  "hsl": {
    "h": 48.539,
    "s": 77.391,
    "l": 77.451
  },
  "oklch": {
    "l": 0.9072,
    "c": 0.09283,
    "h": 96.5
  },
  "luminance": 0.75028
}

Semantic roles & 50–950 ramp

primary
#F2E199
secondary
#6075D0
accent
#33DA0C
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F2E199

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

Preview Lab → · Contrast checker → · Palette generator →

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