#F2EE8A#F2EE8A

#F2EE8A is a very light, vivid yellow. Relative luminance 0.819; OKLCH L 93.1% C 0.122 H 106.5°. Best body text is #000000 at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#F2EE8A
RGBrgb(242, 238, 138)
HSLhsl(58, 80%, 75%)
HSVhsv(58, 43%, 95%)
CMYKcmyk(0%, 1.7%, 43%, 5.1%)
CIE-LABlab(92.51, -12.40, 48.72)
CIE-LCHlch(92.51, 50.27, 104.28°)
OKLaboklab(93.11% -0.0349 0.1174)
OKLCHoklch(93.11% 0.122 106.5)
XYZxyz(71.7813, 81.8630, 36.0597)
Luminance0.8186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EE8A #8A8EF2
analogous
#F2BA8A #F2EE8A #C2F28A
triadic
#F2EE8A #8AF2EE #EE8AF2
tetradic
#F2EE8A #8AF2BA #8A8EF2 #F28AC2
square
#F2EE8A #8AF2BA #8A8EF2 #F28AC2
split-complementary
#F2EE8A #8AC2F2 #BA8AF2
monochromatic
#E6DE1C #ECE653 #F2EE8A #F8F6C1 #FCFBE3

Accessibility & contrast

On white

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

On black

17.37
#F2EE8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EE8A
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EE8A#FFFFFF#000000##000000
##F2EE8A1.001.2117.3717.37
#FFFFFF1.211.0021.0021.00
#00000017.3721.001.001.00
##00000017.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE782
Deuteranopia (green-blind)
#FFEC8E
Tritanopia (blue-blind)
#FFE2D6
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2ee8a;
/* rgb */ color: rgb(242, 238, 138);
/* oklch */ color: oklch(93.1% 0.122 106.5);
Tailwind
colors: {
  custom: {
    50: '#f8f3ae',
    500: '#f2ee8a',
    950: '#000000',
  },
}
SCSS
$custom: #f2ee8a;
$custom-light: #f8f3ae;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ee8a",
  "rgb": {
    "r": 242,
    "g": 238,
    "b": 138
  },
  "hsl": {
    "h": 57.692,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.93114,
    "c": 0.12247,
    "h": 106.5
  },
  "luminance": 0.81861
}

Semantic roles & 50–950 ramp

primary
#F2EE8A
secondary
#5257CE
accent
#11DC09
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #F2EE8A

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

Preview Lab → · Contrast checker → · Palette generator →

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