#F2EC86#F2EC86

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

Color values

HEX#F2EC86
RGBrgb(242, 236, 134)
HSLhsl(57, 81%, 74%)
HSVhsv(57, 45%, 95%)
CMYKcmyk(0%, 2.5%, 44.6%, 5.1%)
CIE-LABlab(91.95, -11.80, 49.94)
CIE-LCHlch(91.95, 51.32, 103.29°)
OKLaboklab(92.65% -0.0335 0.1199)
OKLCHoklch(92.65% 0.124 105.6)
XYZxyz(70.9180, 80.5912, 34.3695)
Luminance0.8059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EC86 #868CF2
analogous
#F2B686 #F2EC86 #C2F286
triadic
#F2EC86 #86F2EC #EC86F2
tetradic
#F2EC86 #86F2B6 #868CF2 #F286C2
square
#F2EC86 #86F2B6 #868CF2 #F286C2
split-complementary
#F2EC86 #86C2F2 #B686F2
monochromatic
#E5DA19 #ECE34F #F2EC86 #F8F5BD #FCFBE3

Accessibility & contrast

On white

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

On black

17.12
#F2EC86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EC86
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EC86#FFFFFF#000000##000000
##F2EC861.001.2317.1217.12
#FFFFFF1.231.0021.0021.00
#00000017.1221.001.001.00
##00000017.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE57E
Deuteranopia (green-blind)
#FEEA8B
Tritanopia (blue-blind)
#FFE0D4
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2ec86;
/* rgb */ color: rgb(242, 236, 134);
/* oklch */ color: oklch(92.6% 0.124 105.6);
Tailwind
colors: {
  custom: {
    50: '#f8f2ab',
    500: '#f2ec86',
    950: '#000000',
  },
}
SCSS
$custom: #f2ec86;
$custom-light: #f8f2ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ec86",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 134
  },
  "hsl": {
    "h": 56.667,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.92649,
    "c": 0.12446,
    "h": 105.6
  },
  "luminance": 0.80589
}

Semantic roles & 50–950 ramp

primary
#F2EC86
secondary
#4E55CE
accent
#14DD09
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #F2EC86

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

Preview Lab → · Contrast checker → · Palette generator →

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