#F2EA9B#F2EA9B

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

Color values

HEX#F2EA9B
RGBrgb(242, 234, 155)
HSLhsl(54, 77%, 78%)
HSVhsv(54, 36%, 95%)
CMYKcmyk(0%, 3.3%, 36%, 5.1%)
CIE-LABlab(91.73, -8.63, 39.37)
CIE-LCHlch(91.73, 40.31, 102.36°)
OKLaboklab(92.57% -0.0227 0.097)
OKLCHoklch(92.57% 0.1 103.2)
XYZxyz(71.9582, 80.0912, 42.6725)
Luminance0.8009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA9B #9BA3F2
analogous
#F2BE9B #F2EA9B #CEF29B
triadic
#F2EA9B #9BF2EA #EA9BF2
tetradic
#F2EA9B #9BF2BE #9BA3F2 #F29BCE
square
#F2EA9B #9BF2BE #9BA3F2 #F29BCE
split-complementary
#F2EA9B #9BCEF2 #BE9BF2
monochromatic
#E4D32F #EBDF65 #F2EA9B #F9F5D1 #FBF9E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2EA9B#FFFFFF#000000##000000
##F2EA9B1.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)
#F7E595
Deuteranopia (green-blind)
#FAE99E
Tritanopia (blue-blind)
#FEE0D6
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2ea9b;
/* rgb */ color: rgb(242, 234, 155);
/* oklch */ color: oklch(92.6% 0.100 103.2);
Tailwind
colors: {
  custom: {
    50: '#f7f0b9',
    500: '#f2ea9b',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea9b;
$custom-light: #f7f0b9;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea9b",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 155
  },
  "hsl": {
    "h": 54.483,
    "s": 76.991,
    "l": 77.843
  },
  "oklch": {
    "l": 0.92566,
    "c": 0.09961,
    "h": 103.2
  },
  "luminance": 0.80089
}

Semantic roles & 50–950 ramp

primary
#F2EA9B
secondary
#616CD0
accent
#1FD90C
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F2EA9B

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

Preview Lab → · Contrast checker → · Palette generator →

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