#F2EA9E#F2EA9E

#F2EA9E is a very light, moderate yellow. Relative luminance 0.802; OKLCH L 92.6% C 0.096 H 103.0°. Best body text is #000000 at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#F2EA9E
RGBrgb(242, 234, 158)
HSLhsl(54, 76%, 78%)
HSVhsv(54, 35%, 95%)
CMYKcmyk(0%, 3.3%, 34.7%, 5.1%)
CIE-LABlab(91.77, -8.29, 37.93)
CIE-LCHlch(91.77, 38.83, 102.33°)
OKLaboklab(92.62% -0.0216 0.0938)
OKLCHoklch(92.62% 0.096 103)
XYZxyz(72.2132, 80.1932, 44.0159)
Luminance0.8019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA9E #9EA6F2
analogous
#F2C09E #F2EA9E #D0F29E
triadic
#F2EA9E #9EF2EA #EA9EF2
tetradic
#F2EA9E #9EF2C0 #9EA6F2 #F29ED0
square
#F2EA9E #9EF2C0 #9EA6F2 #F29ED0
split-complementary
#F2EA9E #9ED0F2 #C09EF2
monochromatic
#E4D332 #EBDE68 #F2EA9E #F9F6D4 #FBF9E4

Accessibility & contrast

On white

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

On black

17.04
#F2EA9E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EA9E
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EA9E#FFFFFF#000000##000000
##F2EA9E1.001.2317.0417.04
#FFFFFF1.231.0021.0021.00
#00000017.0421.001.001.00
##00000017.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E599
Deuteranopia (green-blind)
#FAE9A1
Tritanopia (blue-blind)
#FEE0D7
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2ea9e;
/* rgb */ color: rgb(242, 234, 158);
/* oklch */ color: oklch(92.6% 0.096 103.0);
Tailwind
colors: {
  custom: {
    50: '#f7f0bb',
    500: '#f2ea9e',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea9e;
$custom-light: #f7f0bb;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea9e",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 158
  },
  "hsl": {
    "h": 54.286,
    "s": 76.364,
    "l": 78.431
  },
  "oklch": {
    "l": 0.92617,
    "c": 0.0962,
    "h": 103
  },
  "luminance": 0.80192
}

Semantic roles & 50–950 ramp

primary
#F2EA9E
secondary
#646ED0
accent
#20D90D
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171612
muted
#858582

Preview Lab

Preview with #F2EA9E

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

Preview Lab → · Contrast checker → · Palette generator →

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