#F2EF58#F2EF58

#F2EF58 is a very light, vivid yellow. Relative luminance 0.813; OKLCH L 92.8% C 0.168 H 108.2°. Best body text is #000000 at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#F2EF58
RGBrgb(242, 239, 88)
HSLhsl(59, 86%, 65%)
HSVhsv(59, 64%, 95%)
CMYKcmyk(0%, 1.2%, 63.6%, 5.1%)
CIE-LABlab(92.27, -16.78, 70.61)
CIE-LCHlch(92.27, 72.58, 103.37°)
OKLaboklab(92.76% -0.0524 0.1595)
OKLCHoklch(92.76% 0.168 108.2)
XYZxyz(69.2482, 81.3169, 21.2786)
Luminance0.8132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EF58 #585BF2
analogous
#F2A258 #F2EF58 #A8F258
triadic
#F2EF58 #58F2EF #EF58F2
tetradic
#F2EF58 #58F2A2 #585BF2 #F258A8
square
#F2EF58 #58F2A2 #585BF2 #F258A8
split-complementary
#F2EF58 #58A8F2 #A258F2
monochromatic
#C1BD0F #EEEA1F #F2EF58 #F6F491 #FBFACA

Accessibility & contrast

On white

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

On black

17.26
#F2EF58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EF58
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EF58#FFFFFF#000000##000000
##F2EF581.001.2217.2617.26
#FFFFFF1.221.0021.0021.00
#00000017.2621.001.001.00
##00000017.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE644
Deuteranopia (green-blind)
#FFEB62
Tritanopia (blue-blind)
#FFE0D0
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2ef58;
/* rgb */ color: rgb(242, 239, 88);
/* oklch */ color: oklch(92.8% 0.168 108.2);
Tailwind
colors: {
  custom: {
    50: '#faf48e',
    500: '#f2ef58',
    950: '#000000',
  },
}
SCSS
$custom: #f2ef58;
$custom-light: #faf48e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ef58",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 88
  },
  "hsl": {
    "h": 58.831,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.9276,
    "c": 0.16791,
    "h": 108.2
  },
  "luminance": 0.81315
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2EF58

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

Preview Lab → · Contrast checker → · Palette generator →

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