#F7E487#F7E487

#F7E487 is a very light, moderate yellow. Relative luminance 0.770; OKLCH L 91.5% C 0.116 H 98.1°. Best body text is #000000 at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#F7E487
RGBrgb(247, 228, 135)
HSLhsl(50, 88%, 75%)
HSVhsv(50, 45%, 97%)
CMYKcmyk(0%, 7.7%, 45.3%, 3.1%)
CIE-LABlab(90.33, -5.75, 47.54)
CIE-LCHlch(90.33, 47.89, 96.90°)
OKLaboklab(91.47% -0.0162 0.1145)
OKLCHoklch(91.47% 0.116 98.1)
XYZxyz(70.4762, 77.0127, 34.0695)
Luminance0.7701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E487 #879AF7
analogous
#F7AC87 #F7E487 #D2F787
triadic
#F7E487 #87F7E4 #E487F7
tetradic
#F7E487 #87F7AC #879AF7 #F787D2
square
#F7E487 #87F7AC #879AF7 #F787D2
split-complementary
#F7E487 #87D2F7 #AC87F7
monochromatic
#EFCA14 #F3D74E #F7E487 #FBF1C0 #FDF9E2

Accessibility & contrast

On white

1.28
#F7E487 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.40
#F7E487 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E487
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E487#FFFFFF#000000##000000
##F7E4871.001.2816.4016.40
#FFFFFF1.281.0021.0021.00
#00000016.4021.001.001.00
##00000016.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DF7F
Deuteranopia (green-blind)
#FAE68B
Tritanopia (blue-blind)
#FFD8CE
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f7e487;
/* rgb */ color: rgb(247, 228, 135);
/* oklch */ color: oklch(91.5% 0.116 98.1);
Tailwind
colors: {
  custom: {
    50: '#fcecab',
    500: '#f7e487',
    950: '#000000',
  },
}
SCSS
$custom: #f7e487;
$custom-light: #fcecab;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e487",
  "rgb": {
    "r": 247,
    "g": 228,
    "b": 135
  },
  "hsl": {
    "h": 49.821,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.91465,
    "c": 0.11568,
    "h": 98.1
  },
  "luminance": 0.7701
}

Semantic roles & 50–950 ramp

primary
#F7E487
secondary
#4E65D4
accent
#28E401
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F7E487

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

Preview Lab → · Contrast checker → · Palette generator →

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