#F2ED86#F2ED86

#F2ED86 is a very light, vivid yellow. Relative luminance 0.812; OKLCH L 92.9% C 0.126 H 106.1°. Best body text is #000000 at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#F2ED86
RGBrgb(242, 237, 134)
HSLhsl(57, 81%, 74%)
HSVhsv(57, 45%, 95%)
CMYKcmyk(0%, 2.1%, 44.6%, 5.1%)
CIE-LABlab(92.21, -12.29, 50.26)
CIE-LCHlch(92.21, 51.74, 103.75°)
OKLaboklab(92.85% -0.0349 0.1206)
OKLCHoklch(92.85% 0.126 106.1)
XYZxyz(71.2067, 81.1687, 34.4658)
Luminance0.8117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ED86 #868BF2
analogous
#F2B786 #F2ED86 #C1F286
triadic
#F2ED86 #86F2ED #ED86F2
tetradic
#F2ED86 #86F2B7 #868BF2 #F286C1
square
#F2ED86 #86F2B7 #868BF2 #F286C1
split-complementary
#F2ED86 #86C1F2 #B786F2
monochromatic
#E5DC19 #ECE54F #F2ED86 #F8F5BD #FCFBE3

Accessibility & contrast

On white

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

On black

17.23
#F2ED86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ED86
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ED86#FFFFFF#000000##000000
##F2ED861.001.2217.2317.23
#FFFFFF1.221.0021.0021.00
#00000017.2321.001.001.00
##00000017.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE67D
Deuteranopia (green-blind)
#FFEB8B
Tritanopia (blue-blind)
#FFE1D5
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2ed86;
/* rgb */ color: rgb(242, 237, 134);
/* oklch */ color: oklch(92.9% 0.126 106.1);
Tailwind
colors: {
  custom: {
    50: '#f8f2ab',
    500: '#f2ed86',
    950: '#000000',
  },
}
SCSS
$custom: #f2ed86;
$custom-light: #f8f2ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ed86",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 134
  },
  "hsl": {
    "h": 57.222,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.92853,
    "c": 0.12553,
    "h": 106.1
  },
  "luminance": 0.81167
}

Semantic roles & 50–950 ramp

primary
#F2ED86
secondary
#4E54CE
accent
#12DD09
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #F2ED86

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

Preview Lab → · Contrast checker → · Palette generator →

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