#F7E87C#F7E87C

#F7E87C is a very light, vivid yellow. Relative luminance 0.789; OKLCH L 92.1% C 0.130 H 101.5°. Best body text is #000000 at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#F7E87C
RGBrgb(247, 232, 124)
HSLhsl(53, 88%, 73%)
HSVhsv(53, 50%, 97%)
CMYKcmyk(0%, 6.1%, 49.8%, 3.1%)
CIE-LABlab(91.21, -8.75, 53.88)
CIE-LCHlch(91.21, 54.59, 99.22°)
OKLaboklab(92.12% -0.0259 0.1278)
OKLCHoklch(92.12% 0.13 101.5)
XYZxyz(70.8545, 78.9450, 30.5705)
Luminance0.7894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E87C #7C8BF7
analogous
#F7AA7C #F7E87C #C8F77C
triadic
#F7E87C #7CF7E8 #E87CF7
tetradic
#F7E87C #7CF7AA #7C8BF7 #F77CC8
square
#F7E87C #7CF7AA #7C8BF7 #F77CC8
split-complementary
#F7E87C #7CC8F7 #AA7CF7
monochromatic
#EACF0E #F3DE42 #F7E87C #FBF2B6 #FDFAE2

Accessibility & contrast

On white

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

On black

16.79
#F7E87C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E87C
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E87C#FFFFFF#000000##000000
##F7E87C1.001.2516.7916.79
#FFFFFF1.251.0021.0021.00
#00000016.7921.001.001.00
##00000016.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7e87c;
/* rgb */ color: rgb(247, 232, 124);
/* oklch */ color: oklch(92.1% 0.130 101.5);
Tailwind
colors: {
  custom: {
    50: '#fcefa4',
    500: '#f7e87c',
    950: '#000000',
  },
}
SCSS
$custom: #f7e87c;
$custom-light: #fcefa4;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e87c",
  "rgb": {
    "r": 247,
    "g": 232,
    "b": 124
  },
  "hsl": {
    "h": 52.683,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.9212,
    "c": 0.13036,
    "h": 101.5
  },
  "luminance": 0.78943
}

Semantic roles & 50–950 ramp

primary
#F7E87C
secondary
#4456D3
accent
#1CE500
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F7E87C

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

Preview Lab → · Contrast checker → · Palette generator →

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