#F2EE98#F2EE98

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

Color values

HEX#F2EE98
RGBrgb(242, 238, 152)
HSLhsl(57, 78%, 77%)
HSVhsv(57, 37%, 95%)
CMYKcmyk(0%, 1.7%, 37.2%, 5.1%)
CIE-LABlab(92.70, -10.95, 42.13)
CIE-LCHlch(92.70, 43.53, 104.57°)
OKLaboklab(93.33% -0.0296 0.1032)
OKLCHoklch(93.33% 0.107 106)
XYZxyz(72.8610, 82.2949, 41.7460)
Luminance0.8229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EE98 #989CF2
analogous
#F2C198 #F2EE98 #C9F298
triadic
#F2EE98 #98F2EE #EE98F2
tetradic
#F2EE98 #98F2C1 #989CF2 #F298C9
square
#F2EE98 #98F2C1 #989CF2 #F298C9
split-complementary
#F2EE98 #98C9F2 #C198F2
monochromatic
#E4DC2B #EBE562 #F2EE98 #F9F7CE #FCFBE4

Accessibility & contrast

On white

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

On black

17.46
#F2EE98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EE98
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EE98#FFFFFF#000000##000000
##F2EE981.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE892
Deuteranopia (green-blind)
#FEEC9C
Tritanopia (blue-blind)
#FEE4D9
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2ee98;
/* rgb */ color: rgb(242, 238, 152);
/* oklch */ color: oklch(93.3% 0.107 106.0);
Tailwind
colors: {
  custom: {
    50: '#f7f3b7',
    500: '#f2ee98',
    950: '#000000',
  },
}
SCSS
$custom: #f2ee98;
$custom-light: #f7f3b7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ee98",
  "rgb": {
    "r": 242,
    "g": 238,
    "b": 152
  },
  "hsl": {
    "h": 57.333,
    "s": 77.586,
    "l": 77.255
  },
  "oklch": {
    "l": 0.93328,
    "c": 0.10737,
    "h": 106
  },
  "luminance": 0.82293
}

Semantic roles & 50–950 ramp

primary
#F2EE98
secondary
#5F64D0
accent
#15DA0C
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #F2EE98

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

Preview Lab → · Contrast checker → · Palette generator →

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