#F0EB97#F0EB97

#F0EB97 is a very light, moderate yellow. Relative luminance 0.802; OKLCH L 92.5% C 0.105 H 105.3°. Best body text is #000000 at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#F0EB97
RGBrgb(240, 235, 151)
HSLhsl(57, 75%, 77%)
HSVhsv(57, 37%, 94%)
CMYKcmyk(0%, 2.1%, 37.1%, 5.9%)
CIE-LABlab(91.76, -10.34, 41.38)
CIE-LCHlch(91.76, 42.65, 104.03°)
OKLaboklab(92.54% -0.0278 0.1015)
OKLCHoklch(92.54% 0.105 105.3)
XYZxyz(71.2304, 80.1779, 40.9958)
Luminance0.8018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EB97 #979CF0
analogous
#F0BF97 #F0EB97 #C9F097
triadic
#F0EB97 #97F0EB #EB97F0
tetradic
#F0EB97 #97F0BF #979CF0 #F097C9
square
#F0EB97 #97F0BF #979CF0 #F097C9
split-complementary
#F0EB97 #97C9F0 #BF97F0
monochromatic
#E1D62C #E8E162 #F0EB97 #F8F5CC #FBFAE4

Accessibility & contrast

On white

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

On black

17.04
#F0EB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EB97
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EB97#FFFFFF#000000##000000
##F0EB971.001.2317.0417.04
#FFFFFF1.231.0021.0021.00
#00000017.0421.001.001.00
##00000017.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E591
Deuteranopia (green-blind)
#FBE99A
Tritanopia (blue-blind)
#FCE1D6
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f0eb97;
/* rgb */ color: rgb(240, 235, 151);
/* oklch */ color: oklch(92.5% 0.105 105.3);
Tailwind
colors: {
  custom: {
    50: '#f6f1b6',
    500: '#f0eb97',
    950: '#000000',
  },
}
SCSS
$custom: #f0eb97;
$custom-light: #f6f1b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f0eb97",
  "rgb": {
    "r": 240,
    "g": 235,
    "b": 151
  },
  "hsl": {
    "h": 56.629,
    "s": 74.79,
    "l": 76.667
  },
  "oklch": {
    "l": 0.92539,
    "c": 0.10522,
    "h": 105.3
  },
  "luminance": 0.80176
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0EB97

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

Preview Lab → · Contrast checker → · Palette generator →

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