#F2EB80#F2EB80

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

Color values

HEX#F2EB80
RGBrgb(242, 235, 128)
HSLhsl(56, 81%, 73%)
HSVhsv(56, 47%, 95%)
CMYKcmyk(0%, 2.9%, 47.1%, 5.1%)
CIE-LABlab(91.62, -11.86, 52.40)
CIE-LCHlch(91.62, 53.72, 102.76°)
OKLaboklab(92.36% -0.0342 0.1249)
OKLCHoklch(92.36% 0.129 105.3)
XYZxyz(70.2242, 79.8544, 32.1321)
Luminance0.7985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EB80 #8087F2
analogous
#F2B280 #F2EB80 #C0F280
triadic
#F2EB80 #80F2EB #EB80F2
tetradic
#F2EB80 #80F2B2 #8087F2 #F280C0
square
#F2EB80 #80F2B2 #8087F2 #F280C0
split-complementary
#F2EB80 #80C0F2 #B280F2
monochromatic
#E1D417 #ECE248 #F2EB80 #F8F4B8 #FCFBE3

Accessibility & contrast

On white

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

On black

16.97
#F2EB80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EB80
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EB80#FFFFFF#000000##000000
##F2EB801.001.2416.9716.97
#FFFFFF1.241.0021.0021.00
#00000016.9721.001.001.00
##00000016.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2eb80;
/* rgb */ color: rgb(242, 235, 128);
/* oklch */ color: oklch(92.4% 0.129 105.3);
Tailwind
colors: {
  custom: {
    50: '#f8f1a7',
    500: '#f2eb80',
    950: '#000000',
  },
}
SCSS
$custom: #f2eb80;
$custom-light: #f8f1a7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eb80",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 128
  },
  "hsl": {
    "h": 56.316,
    "s": 81.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.92363,
    "c": 0.12949,
    "h": 105.3
  },
  "luminance": 0.79852
}

Semantic roles & 50–950 ramp

primary
#F2EB80
secondary
#4951CD
accent
#15DE08
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#171610
muted
#858580

Preview Lab

Preview with #F2EB80

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

Preview Lab → · Contrast checker → · Palette generator →

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