#F7E87F#F7E87F

#F7E87F is a very light, vivid yellow. Relative luminance 0.790; OKLCH L 92.2% C 0.127 H 101.3°. Best body text is #000000 at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#F7E87F
RGBrgb(247, 232, 127)
HSLhsl(53, 88%, 73%)
HSVhsv(53, 49%, 97%)
CMYKcmyk(0%, 6.1%, 48.6%, 3.1%)
CIE-LABlab(91.24, -8.49, 52.51)
CIE-LCHlch(91.24, 53.19, 99.18°)
OKLaboklab(92.16% -0.0249 0.125)
OKLCHoklch(92.16% 0.127 101.3)
XYZxyz(71.0471, 79.0221, 31.5849)
Luminance0.7902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E87F #7F8EF7
analogous
#F7AC7F #F7E87F #CAF77F
triadic
#F7E87F #7FF7E8 #E87FF7
tetradic
#F7E87F #7FF7AC #7F8EF7 #F77FCA
square
#F7E87F #7FF7AC #7F8EF7 #F77FCA
split-complementary
#F7E87F #7FCAF7 #AC7FF7
monochromatic
#EDD10F #F3DE45 #F7E87F #FBF2B9 #FDFAE2

Accessibility & contrast

On white

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

On black

16.80
#F7E87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E87F
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E87F#FFFFFF#000000##000000
##F7E87F1.001.2516.8016.80
#FFFFFF1.251.0021.0021.00
#00000016.8021.001.001.00
##00000016.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7e87f;
/* rgb */ color: rgb(247, 232, 127);
/* oklch */ color: oklch(92.2% 0.127 101.3);
Tailwind
colors: {
  custom: {
    50: '#fcefa6',
    500: '#f7e87f',
    950: '#000000',
  },
}
SCSS
$custom: #f7e87f;
$custom-light: #fcefa6;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e87f",
  "rgb": {
    "r": 247,
    "g": 232,
    "b": 127
  },
  "hsl": {
    "h": 52.5,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.92159,
    "c": 0.12744,
    "h": 101.3
  },
  "luminance": 0.7902
}

Semantic roles & 50–950 ramp

primary
#F7E87F
secondary
#4758D3
accent
#1DE501
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F7E87F

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

Preview Lab → · Contrast checker → · Palette generator →

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