#F2ED99#F2ED99

#F2ED99 is a very light, moderate yellow. Relative luminance 0.817; OKLCH L 93.1% C 0.105 H 105.3°. Best body text is #000000 at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#F2ED99
RGBrgb(242, 237, 153)
HSLhsl(57, 77%, 77%)
HSVhsv(57, 37%, 95%)
CMYKcmyk(0%, 2.1%, 36.8%, 5.1%)
CIE-LABlab(92.46, -10.35, 41.32)
CIE-LCHlch(92.46, 42.60, 104.06°)
OKLaboklab(93.14% -0.0278 0.1014)
OKLCHoklch(93.14% 0.105 105.3)
XYZxyz(72.6529, 81.7472, 42.0824)
Luminance0.8175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ED99 #999EF2
analogous
#F2C099 #F2ED99 #CBF299
triadic
#F2ED99 #99F2ED #ED99F2
tetradic
#F2ED99 #99F2C0 #999EF2 #F299CB
square
#F2ED99 #99F2C0 #999EF2 #F299CB
split-complementary
#F2ED99 #99CBF2 #C099F2
monochromatic
#E4DA2C #EBE363 #F2ED99 #F9F7CF #FCFAE4

Accessibility & contrast

On white

1.21
#F2ED99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.35
#F2ED99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ED99
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ED99#FFFFFF#000000##000000
##F2ED991.001.2117.3517.35
#FFFFFF1.211.0021.0021.00
#00000017.3521.001.001.00
##00000017.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE793
Deuteranopia (green-blind)
#FDEB9C
Tritanopia (blue-blind)
#FEE3D8
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2ed99;
/* rgb */ color: rgb(242, 237, 153);
/* oklch */ color: oklch(93.1% 0.105 105.3);
Tailwind
colors: {
  custom: {
    50: '#f7f2b8',
    500: '#f2ed99',
    950: '#000000',
  },
}
SCSS
$custom: #f2ed99;
$custom-light: #f7f2b8;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ed99",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 153
  },
  "hsl": {
    "h": 56.629,
    "s": 77.391,
    "l": 77.451
  },
  "oklch": {
    "l": 0.93141,
    "c": 0.10514,
    "h": 105.3
  },
  "luminance": 0.81746
}

Semantic roles & 50–950 ramp

primary
#F2ED99
secondary
#6066D0
accent
#17DA0C
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F2ED99

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

Preview Lab → · Contrast checker → · Palette generator →

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