#F2E860#F2E860

#F2E860 is a very light, vivid yellow. Relative luminance 0.774; OKLCH L 91.4% C 0.155 H 105.1°. Best body text is #000000 at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#F2E860
RGBrgb(242, 232, 96)
HSLhsl(56, 85%, 66%)
HSVhsv(56, 60%, 95%)
CMYKcmyk(0%, 4.1%, 60.3%, 5.1%)
CIE-LABlab(90.52, -12.86, 65.50)
CIE-LCHlch(90.52, 66.75, 101.11°)
OKLaboklab(91.39% -0.0404 0.1499)
OKLCHoklch(91.39% 0.155 105.1)
XYZxyz(67.5882, 77.4373, 22.4507)
Luminance0.7743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E860 #606AF2
analogous
#F29F60 #F2E860 #B3F260
triadic
#F2E860 #60F2E8 #E860F2
tetradic
#F2E860 #60F29F #606AF2 #F260B3
square
#F2E860 #60F29F #606AF2 #F260B3
split-complementary
#F2E860 #60B3F2 #9F60F2
monochromatic
#C7BB10 #EDE027 #F2E860 #F7F099 #FBF8D1

Accessibility & contrast

On white

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

On black

16.49
#F2E860 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E860
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E860#FFFFFF#000000##000000
##F2E8601.001.2716.4916.49
#FFFFFF1.271.0021.0021.00
#00000016.4921.001.001.00
##00000016.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE050
Deuteranopia (green-blind)
#FEE768
Tritanopia (blue-blind)
#FFDACB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f2e860;
/* rgb */ color: rgb(242, 232, 96);
/* oklch */ color: oklch(91.4% 0.155 105.1);
Tailwind
colors: {
  custom: {
    50: '#f9ef92',
    500: '#f2e860',
    950: '#000000',
  },
}
SCSS
$custom: #f2e860;
$custom-light: #f9ef92;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e860",
  "rgb": {
    "r": 242,
    "g": 232,
    "b": 96
  },
  "hsl": {
    "h": 55.89,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.91387,
    "c": 0.15521,
    "h": 105.1
  },
  "luminance": 0.77435
}

Semantic roles & 50–950 ramp

primary
#F2E860
secondary
#323CC4
accent
#13E104
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F2E860

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

Preview Lab → · Contrast checker → · Palette generator →

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