#F2EA8A#F2EA8A

#F2EA8A is a very light, moderate yellow. Relative luminance 0.796; OKLCH L 92.3% C 0.118 H 104.3°. Best body text is #000000 at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#F2EA8A
RGBrgb(242, 234, 138)
HSLhsl(55, 80%, 75%)
HSVhsv(55, 43%, 95%)
CMYKcmyk(0%, 3.3%, 43%, 5.1%)
CIE-LABlab(91.49, -10.42, 47.44)
CIE-LCHlch(91.49, 48.57, 102.39°)
OKLaboklab(92.3% -0.0292 0.1145)
OKLCHoklch(92.3% 0.118 104.3)
XYZxyz(70.6297, 79.5598, 35.6758)
Luminance0.7956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA8A #8A92F2
analogous
#F2B68A #F2EA8A #C6F28A
triadic
#F2EA8A #8AF2EA #EA8AF2
tetradic
#F2EA8A #8AF2B6 #8A92F2 #F28AC6
square
#F2EA8A #8AF2B6 #8A92F2 #F28AC6
split-complementary
#F2EA8A #8AC6F2 #B68AF2
monochromatic
#E6D61C #ECE053 #F2EA8A #F8F4C1 #FCFAE3

Accessibility & contrast

On white

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

On black

16.91
#F2EA8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EA8A
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EA8A#FFFFFF#000000##000000
##F2EA8A1.001.2416.9116.91
#FFFFFF1.241.0021.0021.00
#00000016.9121.001.001.00
##00000016.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E482
Deuteranopia (green-blind)
#FCE98E
Tritanopia (blue-blind)
#FFDED3
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2ea8a;
/* rgb */ color: rgb(242, 234, 138);
/* oklch */ color: oklch(92.3% 0.118 104.3);
Tailwind
colors: {
  custom: {
    50: '#f8f0ae',
    500: '#f2ea8a',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea8a;
$custom-light: #f8f0ae;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea8a",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 138
  },
  "hsl": {
    "h": 55.385,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.92298,
    "c": 0.1182,
    "h": 104.3
  },
  "luminance": 0.79558
}

Semantic roles & 50–950 ramp

primary
#F2EA8A
secondary
#525CCE
accent
#19DC09
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #F2EA8A

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

Preview Lab → · Contrast checker → · Palette generator →

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