#F2EB89#F2EB89

#F2EB89 is a very light, vivid yellow. Relative luminance 0.801; OKLCH L 92.5% C 0.120 H 104.9°. Best body text is #000000 at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#F2EB89
RGBrgb(242, 235, 137)
HSLhsl(56, 80%, 74%)
HSVhsv(56, 43%, 95%)
CMYKcmyk(0%, 2.9%, 43.4%, 5.1%)
CIE-LABlab(91.73, -11.02, 48.23)
CIE-LCHlch(91.73, 49.47, 102.87°)
OKLaboklab(92.49% -0.031 0.1162)
OKLCHoklch(92.49% 0.12 104.9)
XYZxyz(70.8431, 80.1019, 35.3915)
Luminance0.8010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EB89 #8990F2
analogous
#F2B789 #F2EB89 #C5F289
triadic
#F2EB89 #89F2EB #EB89F2
tetradic
#F2EB89 #89F2B7 #8990F2 #F289C5
square
#F2EB89 #89F2B7 #8990F2 #F289C5
split-complementary
#F2EB89 #89C5F2 #B789F2
monochromatic
#E6D81B #ECE252 #F2EB89 #F8F4C0 #FCFAE3

Accessibility & contrast

On white

1.23
#F2EB89 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.02
#F2EB89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EB89
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EB89#FFFFFF#000000##000000
##F2EB891.001.2317.0217.02
#FFFFFF1.231.0021.0021.00
#00000017.0221.001.001.00
##00000017.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE581
Deuteranopia (green-blind)
#FDEA8D
Tritanopia (blue-blind)
#FFDFD3
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2eb89;
/* rgb */ color: rgb(242, 235, 137);
/* oklch */ color: oklch(92.5% 0.120 104.9);
Tailwind
colors: {
  custom: {
    50: '#f8f1ad',
    500: '#f2eb89',
    950: '#000000',
  },
}
SCSS
$custom: #f2eb89;
$custom-light: #f8f1ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eb89",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 137
  },
  "hsl": {
    "h": 56,
    "s": 80.153,
    "l": 74.314
  },
  "oklch": {
    "l": 0.92488,
    "c": 0.1203,
    "h": 104.9
  },
  "luminance": 0.801
}

Semantic roles & 50–950 ramp

primary
#F2EB89
secondary
#5159CE
accent
#17DC09
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #F2EB89

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

Preview Lab → · Contrast checker → · Palette generator →

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