#F2EC91#F2EC91

#F2EC91 is a very light, moderate yellow. Relative luminance 0.809; OKLCH L 92.8% C 0.113 H 105.1°. Best body text is #000000 at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#F2EC91
RGBrgb(242, 236, 145)
HSLhsl(56, 79%, 76%)
HSVhsv(56, 40%, 95%)
CMYKcmyk(0%, 2.5%, 40.1%, 5.1%)
CIE-LABlab(92.09, -10.71, 44.79)
CIE-LCHlch(92.09, 46.05, 103.44°)
OKLaboklab(92.81% -0.0294 0.109)
OKLCHoklch(92.81% 0.113 105.1)
XYZxyz(71.7255, 80.9142, 38.6223)
Luminance0.8091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EC91 #9197F2
analogous
#F2BB91 #F2EC91 #C7F291
triadic
#F2EC91 #91F2EC #EC91F2
tetradic
#F2EC91 #91F2BB #9197F2 #F291C7
square
#F2EC91 #91F2BB #9197F2 #F291C7
split-complementary
#F2EC91 #91C7F2 #BB91F2
monochromatic
#E5D924 #ECE35A #F2EC91 #F8F5C8 #FCFAE4

Accessibility & contrast

On white

1.22
#F2EC91 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.18
#F2EC91 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EC91
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EC91#FFFFFF#000000##000000
##F2EC911.001.2217.1817.18
#FFFFFF1.221.0021.0021.00
#00000017.1821.001.001.00
##00000017.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE68A
Deuteranopia (green-blind)
#FDEA95
Tritanopia (blue-blind)
#FFE1D6
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2ec91;
/* rgb */ color: rgb(242, 236, 145);
/* oklch */ color: oklch(92.8% 0.113 105.1);
Tailwind
colors: {
  custom: {
    50: '#f8f2b2',
    500: '#f2ec91',
    950: '#000000',
  },
}
SCSS
$custom: #f2ec91;
$custom-light: #f8f2b2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ec91",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 145
  },
  "hsl": {
    "h": 56.289,
    "s": 78.862,
    "l": 75.882
  },
  "oklch": {
    "l": 0.9281,
    "c": 0.11285,
    "h": 105.1
  },
  "luminance": 0.80912
}

Semantic roles & 50–950 ramp

primary
#F2EC91
secondary
#5860CF
accent
#17DB0A
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F2EC91

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

Preview Lab → · Contrast checker → · Palette generator →

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