#F2E861#F2E861

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

Color values

HEX#F2E861
RGBrgb(242, 232, 97)
HSLhsl(56, 85%, 66%)
HSVhsv(56, 60%, 95%)
CMYKcmyk(0%, 4.1%, 59.9%, 5.1%)
CIE-LABlab(90.53, -12.80, 65.09)
CIE-LCHlch(90.53, 66.34, 101.12°)
OKLaboklab(91.4% -0.0401 0.1491)
OKLCHoklch(91.4% 0.154 105.1)
XYZxyz(67.6346, 77.4559, 22.6947)
Luminance0.7745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E861 #616BF2
analogous
#F2A061 #F2E861 #B4F261
triadic
#F2E861 #61F2E8 #E861F2
tetradic
#F2E861 #61F2A0 #616BF2 #F261B4
square
#F2E861 #61F2A0 #616BF2 #F261B4
split-complementary
#F2E861 #61B4F2 #A061F2
monochromatic
#C8BB10 #EDE028 #F2E861 #F7F09A #FBF8D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2E861#FFFFFF#000000##000000
##F2E8611.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)
#FAE052
Deuteranopia (green-blind)
#FEE769
Tritanopia (blue-blind)
#FFDACB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f2e861;
/* rgb */ color: rgb(242, 232, 97);
/* oklch */ color: oklch(91.4% 0.154 105.1);
Tailwind
colors: {
  custom: {
    50: '#f9ef93',
    500: '#f2e861',
    950: '#000000',
  },
}
SCSS
$custom: #f2e861;
$custom-light: #f9ef93;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e861",
  "rgb": {
    "r": 242,
    "g": 232,
    "b": 97
  },
  "hsl": {
    "h": 55.862,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.91396,
    "c": 0.15442,
    "h": 105.1
  },
  "luminance": 0.77454
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2E861

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

Preview Lab → · Contrast checker → · Palette generator →

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