#F2EE97#F2EE97

#F2EE97 is a very light, moderate yellow. Relative luminance 0.823; OKLCH L 93.3% C 0.108 H 106.0°. Best body text is #000000 at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#F2EE97
RGBrgb(242, 238, 151)
HSLhsl(57, 78%, 77%)
HSVhsv(57, 38%, 95%)
CMYKcmyk(0%, 1.7%, 37.6%, 5.1%)
CIE-LABlab(92.69, -11.06, 42.60)
CIE-LCHlch(92.69, 44.02, 104.55°)
OKLaboklab(93.31% -0.03 0.1043)
OKLCHoklch(93.31% 0.108 106)
XYZxyz(72.7794, 82.2623, 41.3165)
Luminance0.8226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EE97 #979BF2
analogous
#F2C197 #F2EE97 #C8F297
triadic
#F2EE97 #97F2EE #EE97F2
tetradic
#F2EE97 #97F2C1 #979BF2 #F297C8
square
#F2EE97 #97F2C1 #979BF2 #F297C8
split-complementary
#F2EE97 #97C8F2 #C197F2
monochromatic
#E4DC2A #EBE561 #F2EE97 #F9F7CD #FCFBE4

Accessibility & contrast

On white

1.20
#F2EE97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.45
#F2EE97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EE97
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EE97#FFFFFF#000000##000000
##F2EE971.001.2017.4517.45
#FFFFFF1.201.0021.0021.00
#00000017.4521.001.001.00
##00000017.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE890
Deuteranopia (green-blind)
#FEEC9B
Tritanopia (blue-blind)
#FEE3D8
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2ee97;
/* rgb */ color: rgb(242, 238, 151);
/* oklch */ color: oklch(93.3% 0.108 106.0);
Tailwind
colors: {
  custom: {
    50: '#f7f3b6',
    500: '#f2ee97',
    950: '#000000',
  },
}
SCSS
$custom: #f2ee97;
$custom-light: #f7f3b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ee97",
  "rgb": {
    "r": 242,
    "g": 238,
    "b": 151
  },
  "hsl": {
    "h": 57.363,
    "s": 77.778,
    "l": 77.059
  },
  "oklch": {
    "l": 0.93312,
    "c": 0.10848,
    "h": 106
  },
  "luminance": 0.82261
}

Semantic roles & 50–950 ramp

primary
#F2EE97
secondary
#5E63CF
accent
#15DA0B
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #F2EE97

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

Preview Lab → · Contrast checker → · Palette generator →

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