#F7E97A#F7E97A

#F7E97A is a very light, vivid yellow. Relative luminance 0.795; OKLCH L 92.3% C 0.133 H 102.2°. Best body text is #000000 at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#F7E97A
RGBrgb(247, 233, 122)
HSLhsl(53, 89%, 72%)
HSVhsv(53, 51%, 97%)
CMYKcmyk(0%, 5.7%, 50.6%, 3.1%)
CIE-LABlab(91.44, -9.41, 55.10)
CIE-LCHlch(91.44, 55.89, 99.70°)
OKLaboklab(92.3% -0.0281 0.1302)
OKLCHoklch(92.3% 0.133 102.2)
XYZxyz(71.0116, 79.4595, 30.0052)
Luminance0.7946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E97A #7A88F7
analogous
#F7AB7A #F7E97A #C7F77A
triadic
#F7E97A #7AF7E9 #E97AF7
tetradic
#F7E97A #7AF7AB #7A88F7 #F77AC7
square
#F7E97A #7AF7AB #7A88F7 #F77AC7
split-complementary
#F7E97A #7AC7F7 #AB7AF7
monochromatic
#E9D00E #F4DF40 #F7E97A #FAF3B4 #FDFAE2

Accessibility & contrast

On white

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

On black

16.89
#F7E97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E97A
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E97A#FFFFFF#000000##000000
##F7E97A1.001.2416.8916.89
#FFFFFF1.241.0021.0021.00
#00000016.8921.001.001.00
##00000016.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE370
Deuteranopia (green-blind)
#FFE97F
Tritanopia (blue-blind)
#FFDCCF
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f7e97a;
/* rgb */ color: rgb(247, 233, 122);
/* oklch */ color: oklch(92.3% 0.133 102.2);
Tailwind
colors: {
  custom: {
    50: '#fcefa3',
    500: '#f7e97a',
    950: '#000000',
  },
}
SCSS
$custom: #f7e97a;
$custom-light: #fcefa3;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e97a",
  "rgb": {
    "r": 247,
    "g": 233,
    "b": 122
  },
  "hsl": {
    "h": 53.28,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.92297,
    "c": 0.13323,
    "h": 102.2
  },
  "luminance": 0.79457
}

Semantic roles & 50–950 ramp

primary
#F7E97A
secondary
#4253D3
accent
#1AE500
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F7E97A

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

Preview Lab → · Contrast checker → · Palette generator →

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