#F7E97D#F7E97D

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

Color values

HEX#F7E97D
RGBrgb(247, 233, 125)
HSLhsl(53, 88%, 73%)
HSVhsv(53, 49%, 97%)
CMYKcmyk(0%, 5.7%, 49.4%, 3.1%)
CIE-LABlab(91.48, -9.16, 53.73)
CIE-LCHlch(91.48, 54.51, 99.67°)
OKLaboklab(92.34% -0.027 0.1275)
OKLCHoklch(92.34% 0.13 102)
XYZxyz(71.2004, 79.5350, 30.9993)
Luminance0.7953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E97D #7D8BF7
analogous
#F7AC7D #F7E97D #C8F77D
triadic
#F7E97D #7DF7E9 #E97DF7
tetradic
#F7E97D #7DF7AC #7D8BF7 #F77DC8
square
#F7E97D #7DF7AC #7D8BF7 #F77DC8
split-complementary
#F7E97D #7DC8F7 #AC7DF7
monochromatic
#EBD20E #F3DF43 #F7E97D #FBF3B7 #FDFAE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F7E97D#FFFFFF#000000##000000
##F7E97D1.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)
#FAE373
Deuteranopia (green-blind)
#FFE982
Tritanopia (blue-blind)
#FFDCD0
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f7e97d;
/* rgb */ color: rgb(247, 233, 125);
/* oklch */ color: oklch(92.3% 0.130 102.0);
Tailwind
colors: {
  custom: {
    50: '#fcefa5',
    500: '#f7e97d',
    950: '#000000',
  },
}
SCSS
$custom: #f7e97d;
$custom-light: #fcefa5;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e97d",
  "rgb": {
    "r": 247,
    "g": 233,
    "b": 125
  },
  "hsl": {
    "h": 53.115,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.92335,
    "c": 0.13035,
    "h": 102
  },
  "luminance": 0.79533
}

Semantic roles & 50–950 ramp

primary
#F7E97D
secondary
#4555D3
accent
#1BE500
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F7E97D

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

Preview Lab → · Contrast checker → · Palette generator →

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