#F7E97F#F7E97F

#F7E97F is a very light, vivid yellow. Relative luminance 0.796; OKLCH L 92.4% C 0.128 H 101.8°. Best body text is #000000 at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#F7E97F
RGBrgb(247, 233, 127)
HSLhsl(53, 88%, 73%)
HSVhsv(53, 49%, 97%)
CMYKcmyk(0%, 5.7%, 48.6%, 3.1%)
CIE-LABlab(91.50, -8.98, 52.82)
CIE-LCHlch(91.50, 53.58, 99.65°)
OKLaboklab(92.36% -0.0263 0.1257)
OKLCHoklch(92.36% 0.128 101.8)
XYZxyz(71.3294, 79.5866, 31.6790)
Luminance0.7958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E97F #7F8DF7
analogous
#F7AD7F #F7E97F #C9F77F
triadic
#F7E97F #7FF7E9 #E97FF7
tetradic
#F7E97F #7FF7AD #7F8DF7 #F77FC9
square
#F7E97F #7FF7AD #7F8DF7 #F77FC9
split-complementary
#F7E97F #7FC9F7 #AD7FF7
monochromatic
#EDD30F #F3DF45 #F7E97F #FBF3B9 #FDFAE2

Accessibility & contrast

On white

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

On black

16.92
#F7E97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E97F
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E97F#FFFFFF#000000##000000
##F7E97F1.001.2416.9216.92
#FFFFFF1.241.0021.0021.00
#00000016.9221.001.001.00
##00000016.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7e97f;
/* rgb */ color: rgb(247, 233, 127);
/* oklch */ color: oklch(92.4% 0.128 101.8);
Tailwind
colors: {
  custom: {
    50: '#fcefa6',
    500: '#f7e97f',
    950: '#000000',
  },
}
SCSS
$custom: #f7e97f;
$custom-light: #fcefa6;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e97f",
  "rgb": {
    "r": 247,
    "g": 233,
    "b": 127
  },
  "hsl": {
    "h": 53,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.92361,
    "c": 0.12839,
    "h": 101.8
  },
  "luminance": 0.79584
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F7E97F

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

Preview Lab → · Contrast checker → · Palette generator →

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