#F2E299#F2E299

#F2E299 is a very light, moderate yellow. Relative luminance 0.756; OKLCH L 90.9% C 0.094 H 97.3°. Best body text is #000000 at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#F2E299
RGBrgb(242, 226, 153)
HSLhsl(49, 77%, 77%)
HSVhsv(49, 37%, 95%)
CMYKcmyk(0%, 6.6%, 36.8%, 5.1%)
CIE-LABlab(89.66, -4.84, 37.69)
CIE-LCHlch(89.66, 38.00, 97.31°)
OKLaboklab(90.92% -0.0119 0.093)
OKLCHoklch(90.92% 0.094 97.3)
XYZxyz(69.5653, 75.5719, 41.0532)
Luminance0.7557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E299 #99A9F2
analogous
#F2B599 #F2E299 #D6F299
triadic
#F2E299 #99F2E2 #E299F2
tetradic
#F2E299 #99F2B5 #99A9F2 #F299D6
square
#F2E299 #99F2B5 #99A9F2 #F299D6
split-complementary
#F2E299 #99D6F2 #B599F2
monochromatic
#E4C32C #EBD363 #F2E299 #F9F1CF #FCF7E4

Accessibility & contrast

On white

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

On black

16.11
#F2E299 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E299
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E299#FFFFFF#000000##000000
##F2E2991.001.3016.1116.11
#FFFFFF1.301.0021.0021.00
#00000016.1121.001.001.00
##00000016.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2e299;
/* rgb */ color: rgb(242, 226, 153);
/* oklch */ color: oklch(90.9% 0.094 97.3);
Tailwind
colors: {
  custom: {
    50: '#f7ebb8',
    500: '#f2e299',
    950: '#000000',
  },
}
SCSS
$custom: #f2e299;
$custom-light: #f7ebb8;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e299",
  "rgb": {
    "r": 242,
    "g": 226,
    "b": 153
  },
  "hsl": {
    "h": 49.213,
    "s": 77.391,
    "l": 77.451
  },
  "oklch": {
    "l": 0.90921,
    "c": 0.09376,
    "h": 97.3
  },
  "luminance": 0.7557
}

Semantic roles & 50–950 ramp

primary
#F2E299
secondary
#6074D0
accent
#31DA0C
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F2E299

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

Preview Lab → · Contrast checker → · Palette generator →

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