#F2EF51#F2EF51

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

Color values

HEX#F2EF51
RGBrgb(242, 239, 81)
HSLhsl(59, 86%, 63%)
HSVhsv(59, 67%, 95%)
CMYKcmyk(0%, 1.2%, 66.5%, 5.1%)
CIE-LABlab(92.22, -17.17, 73.24)
CIE-LCHlch(92.22, 75.22, 103.19°)
OKLaboklab(92.71% -0.0541 0.164)
OKLCHoklch(92.71% 0.173 108.3)
XYZxyz(68.9721, 81.2065, 19.8242)
Luminance0.8120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EF51 #5154F2
analogous
#F29E51 #F2EF51 #A4F251
triadic
#F2EF51 #51F2EF #EF51F2
tetradic
#F2EF51 #51F29E #5154F2 #F251A4
square
#F2EF51 #51F29E #5154F2 #F251A4
split-complementary
#F2EF51 #51A4F2 #9E51F2
monochromatic
#BBB70E #EEEA18 #F2EF51 #F6F48A #FBF9C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2EF51#FFFFFF#000000##000000
##F2EF511.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)
#FFE639
Deuteranopia (green-blind)
#FFEB5C
Tritanopia (blue-blind)
#FFE0CF
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2ef51;
/* rgb */ color: rgb(242, 239, 81);
/* oklch */ color: oklch(92.7% 0.173 108.3);
Tailwind
colors: {
  custom: {
    50: '#faf48a',
    500: '#f2ef51',
    950: '#000000',
  },
}
SCSS
$custom: #f2ef51;
$custom-light: #faf48a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ef51",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 81
  },
  "hsl": {
    "h": 58.882,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.92705,
    "c": 0.1727,
    "h": 108.3
  },
  "luminance": 0.81204
}

Semantic roles & 50–950 ramp

primary
#F2EF51
secondary
#2E31B9
accent
#07E303
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170C
muted
#86857F

Preview Lab

Preview with #F2EF51

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

Preview Lab → · Contrast checker → · Palette generator →

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