#F2EB86#F2EB86

#F2EB86 is a very light, vivid yellow. Relative luminance 0.800; OKLCH L 92.4% C 0.123 H 105.1°. Best body text is #000000 at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#F2EB86
RGBrgb(242, 235, 134)
HSLhsl(56, 81%, 74%)
HSVhsv(56, 45%, 95%)
CMYKcmyk(0%, 2.9%, 44.6%, 5.1%)
CIE-LABlab(91.69, -11.31, 49.63)
CIE-LCHlch(91.69, 50.90, 102.83°)
OKLaboklab(92.45% -0.0321 0.1192)
OKLCHoklch(92.45% 0.123 105.1)
XYZxyz(70.6309, 80.0170, 34.2738)
Luminance0.8002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EB86 #868DF2
analogous
#F2B586 #F2EB86 #C3F286
triadic
#F2EB86 #86F2EB #EB86F2
tetradic
#F2EB86 #86F2B5 #868DF2 #F286C3
square
#F2EB86 #86F2B5 #868DF2 #F286C3
split-complementary
#F2EB86 #86C3F2 #B586F2
monochromatic
#E5D819 #ECE24F #F2EB86 #F8F4BD #FCFAE3

Accessibility & contrast

On white

1.24
#F2EB86 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.00
#F2EB86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EB86
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EB86#FFFFFF#000000##000000
##F2EB861.001.2417.0017.00
#FFFFFF1.241.0021.0021.00
#00000017.0021.001.001.00
##00000017.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE47E
Deuteranopia (green-blind)
#FEE98A
Tritanopia (blue-blind)
#FFDFD3
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2eb86;
/* rgb */ color: rgb(242, 235, 134);
/* oklch */ color: oklch(92.4% 0.123 105.1);
Tailwind
colors: {
  custom: {
    50: '#f8f1ab',
    500: '#f2eb86',
    950: '#000000',
  },
}
SCSS
$custom: #f2eb86;
$custom-light: #f8f1ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eb86",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 134
  },
  "hsl": {
    "h": 56.111,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.92445,
    "c": 0.12341,
    "h": 105.1
  },
  "luminance": 0.80015
}

Semantic roles & 50–950 ramp

primary
#F2EB86
secondary
#4E57CE
accent
#16DD09
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #F2EB86

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

Preview Lab → · Contrast checker → · Palette generator →

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