#F7EA97#F7EA97

#F7EA97 is a very light, moderate yellow. Relative luminance 0.809; OKLCH L 92.9% C 0.104 H 100.5°. Best body text is #000000 at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#F7EA97
RGBrgb(247, 234, 151)
HSLhsl(52, 86%, 78%)
HSVhsv(52, 39%, 97%)
CMYKcmyk(0%, 5.3%, 38.9%, 3.1%)
CIE-LABlab(92.07, -7.15, 41.88)
CIE-LCHlch(92.07, 42.49, 99.68°)
OKLaboklab(92.91% -0.0189 0.1026)
OKLCHoklch(92.91% 0.104 100.5)
XYZxyz(73.3678, 80.8562, 41.0142)
Luminance0.8085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EA97 #97A4F7
analogous
#F7BA97 #F7EA97 #D4F797
triadic
#F7EA97 #97F7EA #EA97F7
tetradic
#F7EA97 #97F7BA #97A4F7 #F797D4
square
#F7EA97 #97F7BA #97A4F7 #F797D4
split-complementary
#F7EA97 #97D4F7 #BA97F7
monochromatic
#EED325 #F3DF5E #F7EA97 #FBF5D0 #FDF9E3

Accessibility & contrast

On white

1.22
#F7EA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.17
#F7EA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EA97
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EA97#FFFFFF#000000##000000
##F7EA971.001.2217.1717.17
#FFFFFF1.221.0021.0021.00
#00000017.1721.001.001.00
##00000017.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E591
Deuteranopia (green-blind)
#FDEB9A
Tritanopia (blue-blind)
#FFDFD5
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f7ea97;
/* rgb */ color: rgb(247, 234, 151);
/* oklch */ color: oklch(92.9% 0.104 100.5);
Tailwind
colors: {
  custom: {
    50: '#fbf0b6',
    500: '#f7ea97',
    950: '#000000',
  },
}
SCSS
$custom: #f7ea97;
$custom-light: #fbf0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ea97",
  "rgb": {
    "r": 247,
    "g": 234,
    "b": 151
  },
  "hsl": {
    "h": 51.875,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.92914,
    "c": 0.10429,
    "h": 100.5
  },
  "luminance": 0.80854
}

Semantic roles & 50–950 ramp

primary
#F7EA97
secondary
#5C6DD6
accent
#21E203
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #F7EA97

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

Preview Lab → · Contrast checker → · Palette generator →

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