#F0EA97#F0EA97

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

Color values

HEX#F0EA97
RGBrgb(240, 234, 151)
HSLhsl(56, 75%, 77%)
HSVhsv(56, 37%, 94%)
CMYKcmyk(0%, 2.5%, 37.1%, 5.9%)
CIE-LABlab(91.51, -9.84, 41.05)
CIE-LCHlch(91.51, 42.22, 103.48°)
OKLaboklab(92.34% -0.0264 0.1007)
OKLCHoklch(92.34% 0.104 104.7)
XYZxyz(70.9449, 79.6069, 40.9006)
Luminance0.7961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EA97 #979DF0
analogous
#F0BE97 #F0EA97 #CAF097
triadic
#F0EA97 #97F0EA #EA97F0
tetradic
#F0EA97 #97F0BE #979DF0 #F097CA
square
#F0EA97 #97F0BE #979DF0 #F097CA
split-complementary
#F0EA97 #97CAF0 #BE97F0
monochromatic
#E1D42C #E8DF62 #F0EA97 #F8F5CC #FBFAE4

Accessibility & contrast

On white

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

On black

16.92
#F0EA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EA97
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EA97#FFFFFF#000000##000000
##F0EA971.001.2416.9216.92
#FFFFFF1.241.0021.0021.00
#00000016.9221.001.001.00
##00000016.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0ea97;
/* rgb */ color: rgb(240, 234, 151);
/* oklch */ color: oklch(92.3% 0.104 104.7);
Tailwind
colors: {
  custom: {
    50: '#f6f0b6',
    500: '#f0ea97',
    950: '#000000',
  },
}
SCSS
$custom: #f0ea97;
$custom-light: #f6f0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ea97",
  "rgb": {
    "r": 240,
    "g": 234,
    "b": 151
  },
  "hsl": {
    "h": 55.955,
    "s": 74.79,
    "l": 76.667
  },
  "oklch": {
    "l": 0.92335,
    "c": 0.10412,
    "h": 104.7
  },
  "luminance": 0.79605
}

Semantic roles & 50–950 ramp

primary
#F0EA97
secondary
#5E66CD
accent
#1CD70F
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F0EA97

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

Preview Lab → · Contrast checker → · Palette generator →

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