#F7E875#F7E875

#F7E875 is a very light, vivid yellow. Relative luminance 0.788; OKLCH L 92.0% C 0.137 H 101.9°. Best body text is #000000 at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#F7E875
RGBrgb(247, 232, 117)
HSLhsl(53, 89%, 71%)
HSVhsv(53, 53%, 97%)
CMYKcmyk(0%, 6.1%, 52.6%, 3.1%)
CIE-LABlab(91.13, -9.33, 57.04)
CIE-LCHlch(91.13, 57.80, 99.28°)
OKLaboklab(92.03% -0.0283 0.134)
OKLCHoklch(92.03% 0.137 101.9)
XYZxyz(70.4275, 78.7742, 28.3213)
Luminance0.7877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E875 #7584F7
analogous
#F7A775 #F7E875 #C5F775
triadic
#F7E875 #75F7E8 #E875F7
tetradic
#F7E875 #75F7A7 #7584F7 #F775C5
square
#F7E875 #75F7A7 #7584F7 #F775C5
split-complementary
#F7E875 #75C5F7 #A775F7
monochromatic
#E4CC0D #F4DE3B #F7E875 #FAF2AF #FDFAE2

Accessibility & contrast

On white

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

On black

16.75
#F7E875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E875
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E875#FFFFFF#000000##000000
##F7E8751.001.2516.7516.75
#FFFFFF1.251.0021.0021.00
#00000016.7521.001.001.00
##00000016.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE26A
Deuteranopia (green-blind)
#FFE97A
Tritanopia (blue-blind)
#FFDACE
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f7e875;
/* rgb */ color: rgb(247, 232, 117);
/* oklch */ color: oklch(92.0% 0.137 101.9);
Tailwind
colors: {
  custom: {
    50: '#fcefa0',
    500: '#f7e875',
    950: '#000000',
  },
}
SCSS
$custom: #f7e875;
$custom-light: #fcefa0;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e875",
  "rgb": {
    "r": 247,
    "g": 232,
    "b": 117
  },
  "hsl": {
    "h": 53.077,
    "s": 89.041,
    "l": 71.373
  },
  "oklch": {
    "l": 0.92034,
    "c": 0.13699,
    "h": 101.9
  },
  "luminance": 0.78772
}

Semantic roles & 50–950 ramp

primary
#F7E875
secondary
#3E4FD2
accent
#1AE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F7E875

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

Preview Lab → · Contrast checker → · Palette generator →

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