#F7E97E#F7E97E

#F7E97E is a very light, vivid yellow. Relative luminance 0.796; OKLCH L 92.3% C 0.129 H 101.9°. Best body text is #000000 at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#F7E97E
RGBrgb(247, 233, 126)
HSLhsl(53, 88%, 73%)
HSVhsv(53, 49%, 97%)
CMYKcmyk(0%, 5.7%, 49%, 3.1%)
CIE-LABlab(91.49, -9.07, 53.28)
CIE-LCHlch(91.49, 54.04, 99.66°)
OKLaboklab(92.35% -0.0267 0.1266)
OKLCHoklch(92.35% 0.129 101.9)
XYZxyz(71.2646, 79.5607, 31.3374)
Luminance0.7956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E97E #7E8CF7
analogous
#F7AC7E #F7E97E #C8F77E
triadic
#F7E97E #7EF7E9 #E97EF7
tetradic
#F7E97E #7EF7AC #7E8CF7 #F77EC8
square
#F7E97E #7EF7AC #7E8CF7 #F77EC8
split-complementary
#F7E97E #7EC8F7 #AC7EF7
monochromatic
#ECD20F #F3DF44 #F7E97E #FBF3B8 #FDFAE2

Accessibility & contrast

On white

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

On black

16.91
#F7E97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E97E
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E97E#FFFFFF#000000##000000
##F7E97E1.001.2416.9116.91
#FFFFFF1.241.0021.0021.00
#00000016.9121.001.001.00
##00000016.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE375
Deuteranopia (green-blind)
#FEE983
Tritanopia (blue-blind)
#FFDCD0
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f7e97e;
/* rgb */ color: rgb(247, 233, 126);
/* oklch */ color: oklch(92.3% 0.129 101.9);
Tailwind
colors: {
  custom: {
    50: '#fcefa6',
    500: '#f7e97e',
    950: '#000000',
  },
}
SCSS
$custom: #f7e97e;
$custom-light: #fcefa6;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e97e",
  "rgb": {
    "r": 247,
    "g": 233,
    "b": 126
  },
  "hsl": {
    "h": 53.058,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.92348,
    "c": 0.12936,
    "h": 101.9
  },
  "luminance": 0.79558
}

Semantic roles & 50–950 ramp

primary
#F7E97E
secondary
#4656D3
accent
#1BE501
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F7E97E

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

Preview Lab → · Contrast checker → · Palette generator →

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