#F2EB71#F2EB71

#F2EB71 is a very light, vivid yellow. Relative luminance 0.795; OKLCH L 92.2% C 0.144 H 105.9°. Best body text is #000000 at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#F2EB71
RGBrgb(242, 235, 113)
HSLhsl(57, 83%, 70%)
HSVhsv(57, 53%, 95%)
CMYKcmyk(0%, 2.9%, 53.3%, 5.1%)
CIE-LABlab(91.45, -13.12, 59.13)
CIE-LCHlch(91.45, 60.57, 102.51°)
OKLaboklab(92.18% -0.0394 0.1382)
OKLCHoklch(92.18% 0.144 105.9)
XYZxyz(69.3089, 79.4883, 27.3114)
Luminance0.7949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EB71 #7178F2
analogous
#F2AB71 #F2EB71 #B9F271
triadic
#F2EB71 #71F2EB #EB71F2
tetradic
#F2EB71 #71F2AB #7178F2 #F271B9
square
#F2EB71 #71F2AB #7178F2 #F271B9
split-complementary
#F2EB71 #71B9F2 #AB71F2
monochromatic
#D5CB14 #EDE339 #F2EB71 #F7F3A9 #FCFBE1

Accessibility & contrast

On white

1.24
#F2EB71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.90
#F2EB71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EB71
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EB71#FFFFFF#000000##000000
##F2EB711.001.2416.9016.90
#FFFFFF1.241.0021.0021.00
#00000016.9021.001.001.00
##00000016.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE365
Deuteranopia (green-blind)
#FFE977
Tritanopia (blue-blind)
#FFDED0
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2eb71;
/* rgb */ color: rgb(242, 235, 113);
/* oklch */ color: oklch(92.2% 0.144 105.9);
Tailwind
colors: {
  custom: {
    50: '#f9f19d',
    500: '#f2eb71',
    950: '#000000',
  },
}
SCSS
$custom: #f2eb71;
$custom-light: #f9f19d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eb71",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 113
  },
  "hsl": {
    "h": 56.744,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.92179,
    "c": 0.14372,
    "h": 105.9
  },
  "luminance": 0.79486
}

Semantic roles & 50–950 ramp

primary
#F2EB71
secondary
#3C44CB
accent
#12E006
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F2EB71

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

Preview Lab → · Contrast checker → · Palette generator →

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