#F2EF71#F2EF71

#F2EF71 is a very light, vivid yellow. Relative luminance 0.818; OKLCH L 93.0% C 0.148 H 107.7°. Best body text is #000000 at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#F2EF71
RGBrgb(242, 239, 113)
HSLhsl(59, 83%, 70%)
HSVhsv(59, 53%, 95%)
CMYKcmyk(0%, 1.2%, 53.3%, 5.1%)
CIE-LABlab(92.49, -15.09, 60.33)
CIE-LCHlch(92.49, 62.18, 104.04°)
OKLaboklab(93% -0.045 0.1408)
OKLCHoklch(93% 0.148 107.7)
XYZxyz(70.4670, 81.8044, 27.6974)
Luminance0.8180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EF71 #7174F2
analogous
#F2AF71 #F2EF71 #B4F271
triadic
#F2EF71 #71F2EF #EF71F2
tetradic
#F2EF71 #71F2AF #7174F2 #F271B4
square
#F2EF71 #71F2AF #7174F2 #F271B4
split-complementary
#F2EF71 #71B4F2 #AF71F2
monochromatic
#D5D114 #EDE939 #F2EF71 #F7F5A9 #FCFCE1

Accessibility & contrast

On white

1.21
#F2EF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.36
#F2EF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EF71
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EF71#FFFFFF#000000##000000
##F2EF711.001.2117.3617.36
#FFFFFF1.211.0021.0021.00
#00000017.3621.001.001.00
##00000017.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE764
Deuteranopia (green-blind)
#FFEC78
Tritanopia (blue-blind)
#FFE2D3
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2ef71;
/* rgb */ color: rgb(242, 239, 113);
/* oklch */ color: oklch(93.0% 0.148 107.7);
Tailwind
colors: {
  custom: {
    50: '#f9f49d',
    500: '#f2ef71',
    950: '#000000',
  },
}
SCSS
$custom: #f2ef71;
$custom-light: #f9f49d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ef71",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 113
  },
  "hsl": {
    "h": 58.605,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.93002,
    "c": 0.1478,
    "h": 107.7
  },
  "luminance": 0.81803
}

Semantic roles & 50–950 ramp

primary
#F2EF71
secondary
#3C3FCB
accent
#0BE006
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2EF71

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

Preview Lab → · Contrast checker → · Palette generator →

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