#F2EA8B#F2EA8B

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

Color values

HEX#F2EA8B
RGBrgb(242, 234, 139)
HSLhsl(55, 80%, 75%)
HSVhsv(55, 43%, 95%)
CMYKcmyk(0%, 3.3%, 42.6%, 5.1%)
CIE-LABlab(91.50, -10.32, 46.97)
CIE-LCHlch(91.50, 48.09, 102.40°)
OKLaboklab(92.31% -0.0288 0.1136)
OKLCHoklch(92.31% 0.117 104.2)
XYZxyz(70.7024, 79.5889, 36.0589)
Luminance0.7959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA8B #8B93F2
analogous
#F2B78B #F2EA8B #C6F28B
triadic
#F2EA8B #8BF2EA #EA8BF2
tetradic
#F2EA8B #8BF2B7 #8B93F2 #F28BC6
square
#F2EA8B #8BF2B7 #8B93F2 #F28BC6
split-complementary
#F2EA8B #8BC6F2 #B78BF2
monochromatic
#E6D61D #ECE054 #F2EA8B #F8F4C2 #FCFAE3

Accessibility & contrast

On white

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

On black

16.92
#F2EA8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EA8B
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EA8B#FFFFFF#000000##000000
##F2EA8B1.001.2416.9216.92
#FFFFFF1.241.0021.0021.00
#00000016.9221.001.001.00
##00000016.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2ea8b;
/* rgb */ color: rgb(242, 234, 139);
/* oklch */ color: oklch(92.3% 0.117 104.2);
Tailwind
colors: {
  custom: {
    50: '#f8f0ae',
    500: '#f2ea8b',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea8b;
$custom-light: #f8f0ae;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea8b",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 139
  },
  "hsl": {
    "h": 55.34,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.92313,
    "c": 0.11715,
    "h": 104.2
  },
  "luminance": 0.79587
}

Semantic roles & 50–950 ramp

primary
#F2EA8B
secondary
#535CCE
accent
#1ADC09
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #F2EA8B

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

Preview Lab → · Contrast checker → · Palette generator →

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