#F2EC71#F2EC71

#F2EC71 is a very light, vivid yellow. Relative luminance 0.801; OKLCH L 92.4% C 0.145 H 106.4°. Best body text is #000000 at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#F2EC71
RGBrgb(242, 236, 113)
HSLhsl(57, 83%, 70%)
HSVhsv(57, 53%, 95%)
CMYKcmyk(0%, 2.5%, 53.3%, 5.1%)
CIE-LABlab(91.71, -13.62, 59.43)
CIE-LCHlch(91.71, 60.97, 102.90°)
OKLaboklab(92.38% -0.0408 0.1389)
OKLCHoklch(92.38% 0.145 106.4)
XYZxyz(69.5960, 80.0625, 27.4071)
Luminance0.8006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EC71 #7177F2
analogous
#F2AB71 #F2EC71 #B8F271
triadic
#F2EC71 #71F2EC #EC71F2
tetradic
#F2EC71 #71F2AB #7177F2 #F271B8
square
#F2EC71 #71F2AB #7177F2 #F271B8
split-complementary
#F2EC71 #71B8F2 #AB71F2
monochromatic
#D5CC14 #EDE439 #F2EC71 #F7F4A9 #FCFBE1

Accessibility & contrast

On white

1.23
#F2EC71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.01
#F2EC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EC71
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EC71#FFFFFF#000000##000000
##F2EC711.001.2317.0117.01
#FFFFFF1.231.0021.0021.00
#00000017.0121.001.001.00
##00000017.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE465
Deuteranopia (green-blind)
#FFEA77
Tritanopia (blue-blind)
#FFDFD1
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2ec71;
/* rgb */ color: rgb(242, 236, 113);
/* oklch */ color: oklch(92.4% 0.145 106.4);
Tailwind
colors: {
  custom: {
    50: '#f9f19d',
    500: '#f2ec71',
    950: '#000000',
  },
}
SCSS
$custom: #f2ec71;
$custom-light: #f9f19d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ec71",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 113
  },
  "hsl": {
    "h": 57.209,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.92384,
    "c": 0.14473,
    "h": 106.4
  },
  "luminance": 0.8006
}

Semantic roles & 50–950 ramp

primary
#F2EC71
secondary
#3C42CB
accent
#10E006
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F2EC71

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

Preview Lab → · Contrast checker → · Palette generator →

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