#F2EA9C#F2EA9C

#F2EA9C is a very light, moderate yellow. Relative luminance 0.801; OKLCH L 92.6% C 0.098 H 103.1°. Best body text is #000000 at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#F2EA9C
RGBrgb(242, 234, 156)
HSLhsl(54, 77%, 78%)
HSVhsv(54, 36%, 95%)
CMYKcmyk(0%, 3.3%, 35.5%, 5.1%)
CIE-LABlab(91.74, -8.52, 38.89)
CIE-LCHlch(91.74, 39.81, 102.35°)
OKLaboklab(92.58% -0.0223 0.0959)
OKLCHoklch(92.58% 0.098 103.1)
XYZxyz(72.0425, 80.1249, 43.1167)
Luminance0.8012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA9C #9CA4F2
analogous
#F2BF9C #F2EA9C #CFF29C
triadic
#F2EA9C #9CF2EA #EA9CF2
tetradic
#F2EA9C #9CF2BF #9CA4F2 #F29CCF
square
#F2EA9C #9CF2BF #9CA4F2 #F29CCF
split-complementary
#F2EA9C #9CCFF2 #BF9CF2
monochromatic
#E4D330 #EBDF66 #F2EA9C #F9F5D2 #FBF9E4

Accessibility & contrast

On white

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

On black

17.02
#F2EA9C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EA9C
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EA9C#FFFFFF#000000##000000
##F2EA9C1.001.2317.0217.02
#FFFFFF1.231.0021.0021.00
#00000017.0221.001.001.00
##00000017.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2ea9c;
/* rgb */ color: rgb(242, 234, 156);
/* oklch */ color: oklch(92.6% 0.098 103.1);
Tailwind
colors: {
  custom: {
    50: '#f7f0ba',
    500: '#f2ea9c',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea9c;
$custom-light: #f7f0ba;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea9c",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 156
  },
  "hsl": {
    "h": 54.419,
    "s": 76.786,
    "l": 78.039
  },
  "oklch": {
    "l": 0.92582,
    "c": 0.09848,
    "h": 103.1
  },
  "luminance": 0.80123
}

Semantic roles & 50–950 ramp

primary
#F2EA9C
secondary
#626DD0
accent
#20D90C
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F2EA9C

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

Preview Lab → · Contrast checker → · Palette generator →

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