#F7E87D#F7E87D

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

Color values

HEX#F7E87D
RGBrgb(247, 232, 125)
HSLhsl(53, 88%, 73%)
HSVhsv(53, 49%, 97%)
CMYKcmyk(0%, 6.1%, 49.4%, 3.1%)
CIE-LABlab(91.22, -8.66, 53.43)
CIE-LCHlch(91.22, 54.12, 99.21°)
OKLaboklab(92.13% -0.0256 0.1268)
OKLCHoklch(92.13% 0.129 101.4)
XYZxyz(70.9181, 78.9705, 30.9052)
Luminance0.7897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E87D #7D8CF7
analogous
#F7AB7D #F7E87D #C9F77D
triadic
#F7E87D #7DF7E8 #E87DF7
tetradic
#F7E87D #7DF7AB #7D8CF7 #F77DC9
square
#F7E87D #7DF7AB #7D8CF7 #F77DC9
split-complementary
#F7E87D #7DC9F7 #AB7DF7
monochromatic
#EBD00E #F3DE43 #F7E87D #FBF2B7 #FDFAE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F7E87D#FFFFFF#000000##000000
##F7E87D1.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)
#F9E274
Deuteranopia (green-blind)
#FEE982
Tritanopia (blue-blind)
#FFDBCF
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f7e87d;
/* rgb */ color: rgb(247, 232, 125);
/* oklch */ color: oklch(92.1% 0.129 101.4);
Tailwind
colors: {
  custom: {
    50: '#fcefa5',
    500: '#f7e87d',
    950: '#000000',
  },
}
SCSS
$custom: #f7e87d;
$custom-light: #fcefa5;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e87d",
  "rgb": {
    "r": 247,
    "g": 232,
    "b": 125
  },
  "hsl": {
    "h": 52.623,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.92133,
    "c": 0.12939,
    "h": 101.4
  },
  "luminance": 0.78968
}

Semantic roles & 50–950 ramp

primary
#F7E87D
secondary
#4556D3
accent
#1DE500
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F7E87D

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

Preview Lab → · Contrast checker → · Palette generator →

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