#F0EA96#F0EA96

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

Color values

HEX#F0EA96
RGBrgb(240, 234, 150)
HSLhsl(56, 75%, 76%)
HSVhsv(56, 38%, 94%)
CMYKcmyk(0%, 2.5%, 37.5%, 5.9%)
CIE-LABlab(91.49, -9.95, 41.53)
CIE-LCHlch(91.49, 42.71, 103.47°)
OKLaboklab(92.32% -0.0268 0.1018)
OKLCHoklch(92.32% 0.105 104.7)
XYZxyz(70.8641, 79.5746, 40.4747)
Luminance0.7957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EA96 #969CF0
analogous
#F0BD96 #F0EA96 #C9F096
triadic
#F0EA96 #96F0EA #EA96F0
tetradic
#F0EA96 #96F0BD #969CF0 #F096C9
square
#F0EA96 #96F0BD #969CF0 #F096C9
split-complementary
#F0EA96 #96C9F0 #BD96F0
monochromatic
#E1D52B #E8DF60 #F0EA96 #F8F5CC #FBFAE4

Accessibility & contrast

On white

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

On black

16.91
#F0EA96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EA96
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EA96#FFFFFF#000000##000000
##F0EA961.001.2416.9116.91
#FFFFFF1.241.0021.0021.00
#00000016.9121.001.001.00
##00000016.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E490
Deuteranopia (green-blind)
#FAE999
Tritanopia (blue-blind)
#FCE0D5
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f0ea96;
/* rgb */ color: rgb(240, 234, 150);
/* oklch */ color: oklch(92.3% 0.105 104.7);
Tailwind
colors: {
  custom: {
    50: '#f6f0b6',
    500: '#f0ea96',
    950: '#000000',
  },
}
SCSS
$custom: #f0ea96;
$custom-light: #f6f0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ea96",
  "rgb": {
    "r": 240,
    "g": 234,
    "b": 150
  },
  "hsl": {
    "h": 56,
    "s": 75,
    "l": 76.471
  },
  "oklch": {
    "l": 0.92319,
    "c": 0.10523,
    "h": 104.7
  },
  "luminance": 0.79573
}

Semantic roles & 50–950 ramp

primary
#F0EA96
secondary
#5E65CD
accent
#1CD70E
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F0EA96

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

Preview Lab → · Contrast checker → · Palette generator →

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