#F2E86B#F2E86B

#F2E86B is a very light, vivid yellow. Relative luminance 0.777; OKLCH L 91.5% C 0.146 H 104.7°. Best body text is #000000 at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#F2E86B
RGBrgb(242, 232, 107)
HSLhsl(56, 84%, 68%)
HSVhsv(56, 56%, 95%)
CMYKcmyk(0%, 4.1%, 55.8%, 5.1%)
CIE-LABlab(90.62, -12.10, 60.86)
CIE-LCHlch(90.62, 62.05, 101.24°)
OKLaboklab(91.5% -0.0371 0.1413)
OKLCHoklch(91.5% 0.146 104.7)
XYZxyz(68.1306, 77.6543, 25.3070)
Luminance0.7765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E86B #6B75F2
analogous
#F2A46B #F2E86B #B8F26B
triadic
#F2E86B #6BF2E8 #E86BF2
tetradic
#F2E86B #6BF2A4 #6B75F2 #F26BB8
square
#F2E86B #6BF2A4 #6B75F2 #F26BB8
split-complementary
#F2E86B #6BB8F2 #A46BF2
monochromatic
#D0C212 #EDDF33 #F2E86B #F7F1A3 #FCF9DC

Accessibility & contrast

On white

1.27
#F2E86B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.53
#F2E86B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E86B
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E86B#FFFFFF#000000##000000
##F2E86B1.001.2716.5316.53
#FFFFFF1.271.0021.0021.00
#00000016.5321.001.001.00
##00000016.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE15E
Deuteranopia (green-blind)
#FEE771
Tritanopia (blue-blind)
#FFDACC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f2e86b;
/* rgb */ color: rgb(242, 232, 107);
/* oklch */ color: oklch(91.5% 0.146 104.7);
Tailwind
colors: {
  custom: {
    50: '#f9ef99',
    500: '#f2e86b',
    950: '#000000',
  },
}
SCSS
$custom: #f2e86b;
$custom-light: #f9ef99;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e86b",
  "rgb": {
    "r": 242,
    "g": 232,
    "b": 107
  },
  "hsl": {
    "h": 55.556,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.91498,
    "c": 0.14608,
    "h": 104.7
  },
  "luminance": 0.77652
}

Semantic roles & 50–950 ramp

primary
#F2E86B
secondary
#3641CB
accent
#15E005
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F2E86B

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

Preview Lab → · Contrast checker → · Palette generator →

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