#F7E975#F7E975

#F7E975 is a very light, vivid yellow. Relative luminance 0.793; OKLCH L 92.2% C 0.138 H 102.5°. Best body text is #000000 at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#F7E975
RGBrgb(247, 233, 117)
HSLhsl(54, 89%, 71%)
HSVhsv(54, 53%, 97%)
CMYKcmyk(0%, 5.7%, 52.6%, 3.1%)
CIE-LABlab(91.39, -9.82, 57.34)
CIE-LCHlch(91.39, 58.18, 99.72°)
OKLaboklab(92.24% -0.0298 0.1347)
OKLCHoklch(92.24% 0.138 102.5)
XYZxyz(70.7098, 79.3388, 28.4154)
Luminance0.7934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E975 #7583F7
analogous
#F7A875 #F7E975 #C4F775
triadic
#F7E975 #75F7E9 #E975F7
tetradic
#F7E975 #75F7A8 #7583F7 #F775C4
square
#F7E975 #75F7A8 #7583F7 #F775C4
split-complementary
#F7E975 #75C4F7 #A875F7
monochromatic
#E4CD0D #F4E03B #F7E975 #FAF2AF #FDFAE2

Accessibility & contrast

On white

1.25
#F7E975 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.87
#F7E975 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E975
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E975#FFFFFF#000000##000000
##F7E9751.001.2516.8716.87
#FFFFFF1.251.0021.0021.00
#00000016.8721.001.001.00
##00000016.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE36A
Deuteranopia (green-blind)
#FFE97B
Tritanopia (blue-blind)
#FFDBCF
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f7e975;
/* rgb */ color: rgb(247, 233, 117);
/* oklch */ color: oklch(92.2% 0.138 102.5);
Tailwind
colors: {
  custom: {
    50: '#fcefa0',
    500: '#f7e975',
    950: '#000000',
  },
}
SCSS
$custom: #f7e975;
$custom-light: #fcefa0;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e975",
  "rgb": {
    "r": 247,
    "g": 233,
    "b": 117
  },
  "hsl": {
    "h": 53.538,
    "s": 89.041,
    "l": 71.373
  },
  "oklch": {
    "l": 0.92236,
    "c": 0.13791,
    "h": 102.5
  },
  "luminance": 0.79336
}

Semantic roles & 50–950 ramp

primary
#F7E975
secondary
#3E4ED2
accent
#19E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F7E975

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

Preview Lab → · Contrast checker → · Palette generator →

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