#F2EB81#F2EB81

#F2EB81 is a very light, vivid yellow. Relative luminance 0.799; OKLCH L 92.4% C 0.128 H 105.3°. Best body text is #000000 at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#F2EB81
RGBrgb(242, 235, 129)
HSLhsl(56, 81%, 73%)
HSVhsv(56, 47%, 95%)
CMYKcmyk(0%, 2.9%, 46.7%, 5.1%)
CIE-LABlab(91.63, -11.77, 51.94)
CIE-LCHlch(91.63, 53.25, 102.77°)
OKLaboklab(92.38% -0.0339 0.1239)
OKLCHoklch(92.38% 0.128 105.3)
XYZxyz(70.2904, 79.8808, 32.4805)
Luminance0.7988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EB81 #8188F2
analogous
#F2B281 #F2EB81 #C1F281
triadic
#F2EB81 #81F2EB #EB81F2
tetradic
#F2EB81 #81F2B2 #8188F2 #F281C1
square
#F2EB81 #81F2B2 #8188F2 #F281C1
split-complementary
#F2EB81 #81C1F2 #B281F2
monochromatic
#E1D517 #ECE24A #F2EB81 #F8F4B8 #FCFBE3

Accessibility & contrast

On white

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

On black

16.98
#F2EB81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EB81
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EB81#FFFFFF#000000##000000
##F2EB811.001.2416.9816.98
#FFFFFF1.241.0021.0021.00
#00000016.9821.001.001.00
##00000016.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE478
Deuteranopia (green-blind)
#FEE986
Tritanopia (blue-blind)
#FFDFD2
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2eb81;
/* rgb */ color: rgb(242, 235, 129);
/* oklch */ color: oklch(92.4% 0.128 105.3);
Tailwind
colors: {
  custom: {
    50: '#f8f1a8',
    500: '#f2eb81',
    950: '#000000',
  },
}
SCSS
$custom: #f2eb81;
$custom-light: #f8f1a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eb81",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 129
  },
  "hsl": {
    "h": 56.283,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.92377,
    "c": 0.12848,
    "h": 105.3
  },
  "luminance": 0.79879
}

Semantic roles & 50–950 ramp

primary
#F2EB81
secondary
#4A52CD
accent
#15DE08
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#171610
muted
#858580

Preview Lab

Preview with #F2EB81

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

Preview Lab → · Contrast checker → · Palette generator →

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