#F2EC73#F2EC73

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

Color values

HEX#F2EC73
RGBrgb(242, 236, 115)
HSLhsl(57, 83%, 70%)
HSVhsv(57, 52%, 95%)
CMYKcmyk(0%, 2.5%, 52.5%, 5.1%)
CIE-LABlab(91.73, -13.46, 58.55)
CIE-LCHlch(91.73, 60.08, 102.94°)
OKLaboklab(92.41% -0.0401 0.1372)
OKLCHoklch(92.41% 0.143 106.3)
XYZxyz(69.7098, 80.1080, 28.0066)
Luminance0.8011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EC73 #7379F2
analogous
#F2AC73 #F2EC73 #B9F273
triadic
#F2EC73 #73F2EC #EC73F2
tetradic
#F2EC73 #73F2AC #7379F2 #F273B9
square
#F2EC73 #73F2AC #7379F2 #F273B9
split-complementary
#F2EC73 #73B9F2 #AC73F2
monochromatic
#D7CD14 #EDE43B #F2EC73 #F7F4AB #FCFBE3

Accessibility & contrast

On white

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

On black

17.02
#F2EC73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EC73
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EC73#FFFFFF#000000##000000
##F2EC731.001.2317.0217.02
#FFFFFF1.231.0021.0021.00
#00000017.0221.001.001.00
##00000017.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2ec73;
/* rgb */ color: rgb(242, 236, 115);
/* oklch */ color: oklch(92.4% 0.143 106.3);
Tailwind
colors: {
  custom: {
    50: '#f9f19e',
    500: '#f2ec73',
    950: '#000000',
  },
}
SCSS
$custom: #f2ec73;
$custom-light: #f9f19e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ec73",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 115
  },
  "hsl": {
    "h": 57.165,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.92407,
    "c": 0.14292,
    "h": 106.3
  },
  "luminance": 0.80106
}

Semantic roles & 50–950 ramp

primary
#F2EC73
secondary
#3D44CC
accent
#10DF06
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F2EC73

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

Preview Lab → · Contrast checker → · Palette generator →

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