#F7EF97#F7EF97

#F7EF97 is a very light, moderate yellow. Relative luminance 0.837; OKLCH L 93.9% C 0.109 H 103.8°. Best body text is #000000 at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#F7EF97
RGBrgb(247, 239, 151)
HSLhsl(55, 86%, 78%)
HSVhsv(55, 39%, 97%)
CMYKcmyk(0%, 3.2%, 38.9%, 3.1%)
CIE-LABlab(93.34, -9.64, 43.51)
CIE-LCHlch(93.34, 44.57, 102.49°)
OKLaboklab(93.92% -0.0261 0.1063)
OKLCHoklch(93.92% 0.109 103.8)
XYZxyz(74.8114, 83.7434, 41.4954)
Luminance0.8374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EF97 #979FF7
analogous
#F7BF97 #F7EF97 #CFF797
triadic
#F7EF97 #97F7EF #EF97F7
tetradic
#F7EF97 #97F7BF #979FF7 #F797CF
square
#F7EF97 #97F7BF #979FF7 #F797CF
split-complementary
#F7EF97 #97CFF7 #BF97F7
monochromatic
#EEDE25 #F3E65E #F7EF97 #FBF8D0 #FDFBE3

Accessibility & contrast

On white

1.18
#F7EF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.75
#F7EF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EF97
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EF97#FFFFFF#000000##000000
##F7EF971.001.1817.7517.75
#FFFFFF1.181.0021.0021.00
#00000017.7521.001.001.00
##00000017.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE990
Deuteranopia (green-blind)
#FFEE9B
Tritanopia (blue-blind)
#FFE4D9
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f7ef97;
/* rgb */ color: rgb(247, 239, 151);
/* oklch */ color: oklch(93.9% 0.109 103.8);
Tailwind
colors: {
  custom: {
    50: '#fbf4b6',
    500: '#f7ef97',
    950: '#000000',
  },
}
SCSS
$custom: #f7ef97;
$custom-light: #fbf4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ef97",
  "rgb": {
    "r": 247,
    "g": 239,
    "b": 151
  },
  "hsl": {
    "h": 55,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.93921,
    "c": 0.10945,
    "h": 103.8
  },
  "luminance": 0.83742
}

Semantic roles & 50–950 ramp

primary
#F7EF97
secondary
#5C66D6
accent
#16E203
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #F7EF97

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

Preview Lab → · Contrast checker → · Palette generator →

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