#F7EB97#F7EB97

#F7EB97 is a very light, moderate yellow. Relative luminance 0.814; OKLCH L 93.1% C 0.105 H 101.2°. Best body text is #000000 at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#F7EB97
RGBrgb(247, 235, 151)
HSLhsl(53, 86%, 78%)
HSVhsv(53, 39%, 97%)
CMYKcmyk(0%, 4.9%, 38.9%, 3.1%)
CIE-LABlab(92.32, -7.65, 42.21)
CIE-LCHlch(92.32, 42.90, 100.27°)
OKLaboklab(93.12% -0.0204 0.1033)
OKLCHoklch(93.12% 0.105 101.2)
XYZxyz(73.6533, 81.4272, 41.1093)
Luminance0.8143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EB97 #97A3F7
analogous
#F7BB97 #F7EB97 #D3F797
triadic
#F7EB97 #97F7EB #EB97F7
tetradic
#F7EB97 #97F7BB #97A3F7 #F797D3
square
#F7EB97 #97F7BB #97A3F7 #F797D3
split-complementary
#F7EB97 #97D3F7 #BB97F7
monochromatic
#EED525 #F3E05E #F7EB97 #FBF6D0 #FDFAE3

Accessibility & contrast

On white

1.21
#F7EB97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.29
#F7EB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EB97
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EB97#FFFFFF#000000##000000
##F7EB971.001.2117.2917.29
#FFFFFF1.211.0021.0021.00
#00000017.2921.001.001.00
##00000017.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE691
Deuteranopia (green-blind)
#FDEB9A
Tritanopia (blue-blind)
#FFE0D6
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f7eb97;
/* rgb */ color: rgb(247, 235, 151);
/* oklch */ color: oklch(93.1% 0.105 101.2);
Tailwind
colors: {
  custom: {
    50: '#fbf1b6',
    500: '#f7eb97',
    950: '#000000',
  },
}
SCSS
$custom: #f7eb97;
$custom-light: #fbf1b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f7eb97",
  "rgb": {
    "r": 247,
    "g": 235,
    "b": 151
  },
  "hsl": {
    "h": 52.5,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.93115,
    "c": 0.1053,
    "h": 101.2
  },
  "luminance": 0.81425
}

Semantic roles & 50–950 ramp

primary
#F7EB97
secondary
#5C6BD6
accent
#1FE203
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #F7EB97

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

Preview Lab → · Contrast checker → · Palette generator →

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