#F2EE71#F2EE71

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

Color values

HEX#F2EE71
RGBrgb(242, 238, 113)
HSLhsl(58, 83%, 70%)
HSVhsv(58, 53%, 95%)
CMYKcmyk(0%, 1.7%, 53.3%, 5.1%)
CIE-LABlab(92.23, -14.60, 60.03)
CIE-LCHlch(92.23, 61.78, 103.67°)
OKLaboklab(92.8% -0.0436 0.1402)
OKLCHoklch(92.8% 0.147 107.3)
XYZxyz(70.1751, 81.2205, 27.6001)
Luminance0.8122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EE71 #7175F2
analogous
#F2AE71 #F2EE71 #B5F271
triadic
#F2EE71 #71F2EE #EE71F2
tetradic
#F2EE71 #71F2AE #7175F2 #F271B5
square
#F2EE71 #71F2AE #7175F2 #F271B5
split-complementary
#F2EE71 #71B5F2 #AE71F2
monochromatic
#D5CF14 #EDE739 #F2EE71 #F7F5A9 #FCFBE1

Accessibility & contrast

On white

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

On black

17.24
#F2EE71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EE71
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EE71#FFFFFF#000000##000000
##F2EE711.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2ee71;
/* rgb */ color: rgb(242, 238, 113);
/* oklch */ color: oklch(92.8% 0.147 107.3);
Tailwind
colors: {
  custom: {
    50: '#f9f39d',
    500: '#f2ee71',
    950: '#000000',
  },
}
SCSS
$custom: #f2ee71;
$custom-light: #f9f39d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ee71",
  "rgb": {
    "r": 242,
    "g": 238,
    "b": 113
  },
  "hsl": {
    "h": 58.14,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.92796,
    "c": 0.14677,
    "h": 107.3
  },
  "luminance": 0.81219
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2EE71

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

Preview Lab → · Contrast checker → · Palette generator →

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