#F2EB8A#F2EB8A

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

Color values

HEX#F2EB8A
RGBrgb(242, 235, 138)
HSLhsl(56, 80%, 75%)
HSVhsv(56, 43%, 95%)
CMYKcmyk(0%, 2.9%, 43%, 5.1%)
CIE-LABlab(91.74, -10.92, 47.76)
CIE-LCHlch(91.74, 48.99, 102.88°)
OKLaboklab(92.5% -0.0306 0.1153)
OKLCHoklch(92.5% 0.119 104.9)
XYZxyz(70.9152, 80.1308, 35.7710)
Luminance0.8013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EB8A #8A91F2
analogous
#F2B78A #F2EB8A #C5F28A
triadic
#F2EB8A #8AF2EB #EB8AF2
tetradic
#F2EB8A #8AF2B7 #8A91F2 #F28AC5
square
#F2EB8A #8AF2B7 #8A91F2 #F28AC5
split-complementary
#F2EB8A #8AC5F2 #B78AF2
monochromatic
#E6D81C #ECE253 #F2EB8A #F8F4C1 #FCFAE3

Accessibility & contrast

On white

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

On black

17.03
#F2EB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EB8A
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EB8A#FFFFFF#000000##000000
##F2EB8A1.001.2317.0317.03
#FFFFFF1.231.0021.0021.00
#00000017.0321.001.001.00
##00000017.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE582
Deuteranopia (green-blind)
#FDEA8E
Tritanopia (blue-blind)
#FFDFD4
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2eb8a;
/* rgb */ color: rgb(242, 235, 138);
/* oklch */ color: oklch(92.5% 0.119 104.9);
Tailwind
colors: {
  custom: {
    50: '#f8f1ae',
    500: '#f2eb8a',
    950: '#000000',
  },
}
SCSS
$custom: #f2eb8a;
$custom-light: #f8f1ae;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eb8a",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 138
  },
  "hsl": {
    "h": 55.962,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.92502,
    "c": 0.11926,
    "h": 104.9
  },
  "luminance": 0.80129
}

Semantic roles & 50–950 ramp

primary
#F2EB8A
secondary
#525ACE
accent
#17DC09
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #F2EB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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