#F2EE58#F2EE58

#F2EE58 is a very light, vivid yellow. Relative luminance 0.807; OKLCH L 92.6% C 0.167 H 107.8°. Best body text is #000000 at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#F2EE58
RGBrgb(242, 238, 88)
HSLhsl(58, 86%, 65%)
HSVhsv(58, 64%, 95%)
CMYKcmyk(0%, 1.7%, 63.6%, 5.1%)
CIE-LABlab(92.01, -16.29, 70.34)
CIE-LCHlch(92.01, 72.21, 103.04°)
OKLaboklab(92.55% -0.051 0.159)
OKLCHoklch(92.55% 0.167 107.8)
XYZxyz(68.9563, 80.7330, 21.1813)
Luminance0.8073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EE58 #585CF2
analogous
#F2A158 #F2EE58 #A9F258
triadic
#F2EE58 #58F2EE #EE58F2
tetradic
#F2EE58 #58F2A1 #585CF2 #F258A9
square
#F2EE58 #58F2A1 #585CF2 #F258A9
split-complementary
#F2EE58 #58A9F2 #A158F2
monochromatic
#C1BC0F #EEE81F #F2EE58 #F6F491 #FBFACA

Accessibility & contrast

On white

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

On black

17.15
#F2EE58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EE58
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EE58#FFFFFF#000000##000000
##F2EE581.001.2217.1517.15
#FFFFFF1.221.0021.0021.00
#00000017.1521.001.001.00
##00000017.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE544
Deuteranopia (green-blind)
#FFEB61
Tritanopia (blue-blind)
#FFDFCF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2ee58;
/* rgb */ color: rgb(242, 238, 88);
/* oklch */ color: oklch(92.6% 0.167 107.8);
Tailwind
colors: {
  custom: {
    50: '#faf38e',
    500: '#f2ee58',
    950: '#000000',
  },
}
SCSS
$custom: #f2ee58;
$custom-light: #faf38e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ee58",
  "rgb": {
    "r": 242,
    "g": 238,
    "b": 88
  },
  "hsl": {
    "h": 58.442,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.92553,
    "c": 0.16695,
    "h": 107.8
  },
  "luminance": 0.80731
}

Semantic roles & 50–950 ramp

primary
#F2EE58
secondary
#3033BE
accent
#09E203
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2EE58

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

Preview Lab → · Contrast checker → · Palette generator →

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