#F7E87B#F7E87B

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

Color values

HEX#F7E87B
RGBrgb(247, 232, 123)
HSLhsl(53, 89%, 73%)
HSVhsv(53, 50%, 97%)
CMYKcmyk(0%, 6.1%, 50.2%, 3.1%)
CIE-LABlab(91.20, -8.83, 54.34)
CIE-LCHlch(91.20, 55.05, 99.23°)
OKLaboklab(92.11% -0.0263 0.1287)
OKLCHoklch(92.11% 0.131 101.6)
XYZxyz(70.7916, 78.9199, 30.2391)
Luminance0.7892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E87B #7B8AF7
analogous
#F7AA7B #F7E87B #C8F77B
triadic
#F7E87B #7BF7E8 #E87BF7
tetradic
#F7E87B #7BF7AA #7B8AF7 #F77BC8
square
#F7E87B #7BF7AA #7B8AF7 #F77BC8
split-complementary
#F7E87B #7BC8F7 #AA7BF7
monochromatic
#E9CF0E #F4DE41 #F7E87B #FAF2B5 #FDFAE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F7E87B#FFFFFF#000000##000000
##F7E87B1.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)
#F9E271
Deuteranopia (green-blind)
#FEE980
Tritanopia (blue-blind)
#FFDBCF
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f7e87b;
/* rgb */ color: rgb(247, 232, 123);
/* oklch */ color: oklch(92.1% 0.131 101.6);
Tailwind
colors: {
  custom: {
    50: '#fcefa3',
    500: '#f7e87b',
    950: '#000000',
  },
}
SCSS
$custom: #f7e87b;
$custom-light: #fcefa3;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e87b",
  "rgb": {
    "r": 247,
    "g": 232,
    "b": 123
  },
  "hsl": {
    "h": 52.742,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.92107,
    "c": 0.13132,
    "h": 101.6
  },
  "luminance": 0.78917
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F7E87B

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

Preview Lab → · Contrast checker → · Palette generator →

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