#F2EE72#F2EE72

#F2EE72 is a very light, vivid yellow. Relative luminance 0.812; OKLCH L 92.8% C 0.146 H 107.2°. Best body text is #000000 at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#F2EE72
RGBrgb(242, 238, 114)
HSLhsl(58, 83%, 70%)
HSVhsv(58, 53%, 95%)
CMYKcmyk(0%, 1.7%, 52.9%, 5.1%)
CIE-LABlab(92.24, -14.52, 59.59)
CIE-LCHlch(92.24, 61.34, 103.69°)
OKLaboklab(92.81% -0.0432 0.1393)
OKLCHoklch(92.81% 0.146 107.2)
XYZxyz(70.2317, 81.2432, 27.8982)
Luminance0.8124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EE72 #7276F2
analogous
#F2AE72 #F2EE72 #B6F272
triadic
#F2EE72 #72F2EE #EE72F2
tetradic
#F2EE72 #72F2AE #7276F2 #F272B6
square
#F2EE72 #72F2AE #7276F2 #F272B6
split-complementary
#F2EE72 #72B6F2 #AE72F2
monochromatic
#D6D014 #EDE73A #F2EE72 #F7F5AA #FCFCE2

Accessibility & contrast

On white

1.22
#F2EE72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.25
#F2EE72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EE72
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EE72#FFFFFF#000000##000000
##F2EE721.001.2217.2517.25
#FFFFFF1.221.0021.0021.00
#00000017.2521.001.001.00
##00000017.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE666
Deuteranopia (green-blind)
#FFEB78
Tritanopia (blue-blind)
#FFE1D2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2ee72;
/* rgb */ color: rgb(242, 238, 114);
/* oklch */ color: oklch(92.8% 0.146 107.2);
Tailwind
colors: {
  custom: {
    50: '#f9f39e',
    500: '#f2ee72',
    950: '#000000',
  },
}
SCSS
$custom: #f2ee72;
$custom-light: #f9f39e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ee72",
  "rgb": {
    "r": 242,
    "g": 238,
    "b": 114
  },
  "hsl": {
    "h": 58.125,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.92807,
    "c": 0.14587,
    "h": 107.2
  },
  "luminance": 0.81241
}

Semantic roles & 50–950 ramp

primary
#F2EE72
secondary
#3D41CC
accent
#0DE006
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2EE72

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

Preview Lab → · Contrast checker → · Palette generator →

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