#F7E87A#F7E87A

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

Color values

HEX#F7E87A
RGBrgb(247, 232, 122)
HSLhsl(53, 89%, 72%)
HSVhsv(53, 51%, 97%)
CMYKcmyk(0%, 6.1%, 50.6%, 3.1%)
CIE-LABlab(91.19, -8.92, 54.79)
CIE-LCHlch(91.19, 55.51, 99.24°)
OKLaboklab(92.1% -0.0266 0.1296)
OKLCHoklch(92.1% 0.132 101.6)
XYZxyz(70.7293, 78.8950, 29.9111)
Luminance0.7889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E87A #7A89F7
analogous
#F7AA7A #F7E87A #C8F77A
triadic
#F7E87A #7AF7E8 #E87AF7
tetradic
#F7E87A #7AF7AA #7A89F7 #F77AC8
square
#F7E87A #7AF7AA #7A89F7 #F77AC8
split-complementary
#F7E87A #7AC8F7 #AA7AF7
monochromatic
#E9CE0E #F4DE40 #F7E87A #FAF2B4 #FDFAE2

Accessibility & contrast

On white

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

On black

16.78
#F7E87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E87A
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E87A#FFFFFF#000000##000000
##F7E87A1.001.2516.7816.78
#FFFFFF1.251.0021.0021.00
#00000016.7821.001.001.00
##00000016.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7e87a;
/* rgb */ color: rgb(247, 232, 122);
/* oklch */ color: oklch(92.1% 0.132 101.6);
Tailwind
colors: {
  custom: {
    50: '#fcefa3',
    500: '#f7e87a',
    950: '#000000',
  },
}
SCSS
$custom: #f7e87a;
$custom-light: #fcefa3;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e87a",
  "rgb": {
    "r": 247,
    "g": 232,
    "b": 122
  },
  "hsl": {
    "h": 52.8,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.92095,
    "c": 0.13228,
    "h": 101.6
  },
  "luminance": 0.78893
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F7E87A

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

Preview Lab → · Contrast checker → · Palette generator →

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