#F2EA9A#F2EA9A

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

Color values

HEX#F2EA9A
RGBrgb(242, 234, 154)
HSLhsl(55, 77%, 78%)
HSVhsv(55, 36%, 95%)
CMYKcmyk(0%, 3.3%, 36.4%, 5.1%)
CIE-LABlab(91.71, -8.74, 39.85)
CIE-LCHlch(91.71, 40.80, 102.37°)
OKLaboklab(92.55% -0.0231 0.0981)
OKLCHoklch(92.55% 0.101 103.3)
XYZxyz(71.8745, 80.0577, 42.2321)
Luminance0.8006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA9A #9AA2F2
analogous
#F2BE9A #F2EA9A #CEF29A
triadic
#F2EA9A #9AF2EA #EA9AF2
tetradic
#F2EA9A #9AF2BE #9AA2F2 #F29ACE
square
#F2EA9A #9AF2BE #9AA2F2 #F29ACE
split-complementary
#F2EA9A #9ACEF2 #BE9AF2
monochromatic
#E4D32E #EBDF64 #F2EA9A #F9F5D0 #FCF9E4

Accessibility & contrast

On white

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

On black

17.01
#F2EA9A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EA9A
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EA9A#FFFFFF#000000##000000
##F2EA9A1.001.2317.0117.01
#FFFFFF1.231.0021.0021.00
#00000017.0121.001.001.00
##00000017.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E594
Deuteranopia (green-blind)
#FBE99D
Tritanopia (blue-blind)
#FEE0D6
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2ea9a;
/* rgb */ color: rgb(242, 234, 154);
/* oklch */ color: oklch(92.5% 0.101 103.3);
Tailwind
colors: {
  custom: {
    50: '#f7f0b8',
    500: '#f2ea9a',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea9a;
$custom-light: #f7f0b8;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea9a",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 154
  },
  "hsl": {
    "h": 54.545,
    "s": 77.193,
    "l": 77.647
  },
  "oklch": {
    "l": 0.92549,
    "c": 0.10074,
    "h": 103.3
  },
  "luminance": 0.80056
}

Semantic roles & 50–950 ramp

primary
#F2EA9A
secondary
#606BD0
accent
#1FD90C
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F2EA9A

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

Preview Lab → · Contrast checker → · Palette generator →

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