#F7EA87#F7EA87

#F7EA87 is a very light, vivid yellow. Relative luminance 0.804; OKLCH L 92.7% C 0.121 H 101.8°. Best body text is #000000 at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#F7EA87
RGBrgb(247, 234, 135)
HSLhsl(53, 88%, 75%)
HSVhsv(53, 45%, 97%)
CMYKcmyk(0%, 5.3%, 45.3%, 3.1%)
CIE-LABlab(91.85, -8.75, 49.43)
CIE-LCHlch(91.85, 50.20, 100.04°)
OKLaboklab(92.67% -0.0249 0.1187)
OKLCHoklch(92.67% 0.121 101.8)
XYZxyz(72.1555, 80.3713, 34.6293)
Luminance0.8037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EA87 #8794F7
analogous
#F7B287 #F7EA87 #CCF787
triadic
#F7EA87 #87F7EA #EA87F7
tetradic
#F7EA87 #87F7B2 #8794F7 #F787CC
square
#F7EA87 #87F7B2 #8794F7 #F787CC
split-complementary
#F7EA87 #87CCF7 #B287F7
monochromatic
#EFD614 #F3E04E #F7EA87 #FBF4C0 #FDFAE2

Accessibility & contrast

On white

1.23
#F7EA87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.07
#F7EA87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EA87
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EA87#FFFFFF#000000##000000
##F7EA871.001.2317.0717.07
#FFFFFF1.231.0021.0021.00
#00000017.0721.001.001.00
##00000017.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE47F
Deuteranopia (green-blind)
#FEEA8B
Tritanopia (blue-blind)
#FFDED2
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f7ea87;
/* rgb */ color: rgb(247, 234, 135);
/* oklch */ color: oklch(92.7% 0.121 101.8);
Tailwind
colors: {
  custom: {
    50: '#fcf0ac',
    500: '#f7ea87',
    950: '#000000',
  },
}
SCSS
$custom: #f7ea87;
$custom-light: #fcf0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ea87",
  "rgb": {
    "r": 247,
    "g": 234,
    "b": 135
  },
  "hsl": {
    "h": 53.036,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.92672,
    "c": 0.12132,
    "h": 101.8
  },
  "luminance": 0.80369
}

Semantic roles & 50–950 ramp

primary
#F7EA87
secondary
#4E5DD4
accent
#1CE401
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #F7EA87

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

Preview Lab → · Contrast checker → · Palette generator →

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