#F2ED71#F2ED71

#F2ED71 is a very light, vivid yellow. Relative luminance 0.806; OKLCH L 92.6% C 0.146 H 106.8°. Best body text is #000000 at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#F2ED71
RGBrgb(242, 237, 113)
HSLhsl(58, 83%, 70%)
HSVhsv(58, 53%, 95%)
CMYKcmyk(0%, 2.1%, 53.3%, 5.1%)
CIE-LABlab(91.97, -14.11, 59.73)
CIE-LCHlch(91.97, 61.37, 103.29°)
OKLaboklab(92.59% -0.0422 0.1395)
OKLCHoklch(92.59% 0.146 106.8)
XYZxyz(69.8847, 80.6399, 27.5033)
Luminance0.8064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ED71 #7176F2
analogous
#F2AC71 #F2ED71 #B7F271
triadic
#F2ED71 #71F2ED #ED71F2
tetradic
#F2ED71 #71F2AC #7176F2 #F271B7
square
#F2ED71 #71F2AC #7176F2 #F271B7
split-complementary
#F2ED71 #71B7F2 #AC71F2
monochromatic
#D5CE14 #EDE639 #F2ED71 #F7F4A9 #FCFBE1

Accessibility & contrast

On white

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

On black

17.13
#F2ED71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ED71
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ED71#FFFFFF#000000##000000
##F2ED711.001.2317.1317.13
#FFFFFF1.231.0021.0021.00
#00000017.1321.001.001.00
##00000017.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE565
Deuteranopia (green-blind)
#FFEA77
Tritanopia (blue-blind)
#FFE0D1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2ed71;
/* rgb */ color: rgb(242, 237, 113);
/* oklch */ color: oklch(92.6% 0.146 106.8);
Tailwind
colors: {
  custom: {
    50: '#f9f29d',
    500: '#f2ed71',
    950: '#000000',
  },
}
SCSS
$custom: #f2ed71;
$custom-light: #f9f29d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ed71",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 113
  },
  "hsl": {
    "h": 57.674,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.9259,
    "c": 0.14575,
    "h": 106.8
  },
  "luminance": 0.80638
}

Semantic roles & 50–950 ramp

primary
#F2ED71
secondary
#3C41CB
accent
#0EE006
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F2ED71

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

Preview Lab → · Contrast checker → · Palette generator →

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