#F2EE8D#F2EE8D

#F2EE8D is a very light, moderate yellow. Relative luminance 0.819; OKLCH L 93.2% C 0.119 H 106.4°. Best body text is #000000 at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#F2EE8D
RGBrgb(242, 238, 141)
HSLhsl(58, 80%, 75%)
HSVhsv(58, 42%, 95%)
CMYKcmyk(0%, 1.7%, 41.7%, 5.1%)
CIE-LABlab(92.55, -12.11, 47.32)
CIE-LCHlch(92.55, 48.84, 104.35°)
OKLaboklab(93.16% -0.0338 0.1144)
OKLCHoklch(93.16% 0.119 106.4)
XYZxyz(72.0015, 81.9511, 37.2194)
Luminance0.8195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EE8D #8D91F2
analogous
#F2BC8D #F2EE8D #C3F28D
triadic
#F2EE8D #8DF2EE #EE8DF2
tetradic
#F2EE8D #8DF2BC #8D91F2 #F28DC3
square
#F2EE8D #8DF2BC #8D91F2 #F28DC3
split-complementary
#F2EE8D #8DC3F2 #BC8DF2
monochromatic
#E5DE1F #ECE656 #F2EE8D #F8F6C4 #FCFBE4

Accessibility & contrast

On white

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

On black

17.39
#F2EE8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EE8D
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EE8D#FFFFFF#000000##000000
##F2EE8D1.001.2117.3917.39
#FFFFFF1.211.0021.0021.00
#00000017.3921.001.001.00
##00000017.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE785
Deuteranopia (green-blind)
#FFEC91
Tritanopia (blue-blind)
#FFE3D7
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2ee8d;
/* rgb */ color: rgb(242, 238, 141);
/* oklch */ color: oklch(93.2% 0.119 106.4);
Tailwind
colors: {
  custom: {
    50: '#f8f3b0',
    500: '#f2ee8d',
    950: '#000000',
  },
}
SCSS
$custom: #f2ee8d;
$custom-light: #f8f3b0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ee8d",
  "rgb": {
    "r": 242,
    "g": 238,
    "b": 141
  },
  "hsl": {
    "h": 57.624,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.93158,
    "c": 0.11932,
    "h": 106.4
  },
  "luminance": 0.81949
}

Semantic roles & 50–950 ramp

primary
#F2EE8D
secondary
#555ACF
accent
#12DC0A
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #F2EE8D

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

Preview Lab → · Contrast checker → · Palette generator →

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