#F7E488#F7E488

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

Color values

HEX#F7E488
RGBrgb(247, 228, 136)
HSLhsl(50, 87%, 75%)
HSVhsv(50, 45%, 97%)
CMYKcmyk(0%, 7.7%, 44.9%, 3.1%)
CIE-LABlab(90.34, -5.66, 47.07)
CIE-LCHlch(90.34, 47.41, 96.85°)
OKLaboklab(91.48% -0.0159 0.1135)
OKLCHoklch(91.48% 0.115 98)
XYZxyz(70.5470, 77.0410, 34.4421)
Luminance0.7704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E488 #889BF7
analogous
#F7AD88 #F7E488 #D2F788
triadic
#F7E488 #88F7E4 #E488F7
tetradic
#F7E488 #88F7AD #889BF7 #F788D2
square
#F7E488 #88F7AD #889BF7 #F788D2
split-complementary
#F7E488 #88D2F7 #AD88F7
monochromatic
#EFCA15 #F3D74F #F7E488 #FBF1C1 #FDF8E2

Accessibility & contrast

On white

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

On black

16.41
#F7E488 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E488
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E488#FFFFFF#000000##000000
##F7E4881.001.2816.4116.41
#FFFFFF1.281.0021.0021.00
#00000016.4121.001.001.00
##00000016.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7e488;
/* rgb */ color: rgb(247, 228, 136);
/* oklch */ color: oklch(91.5% 0.115 98.0);
Tailwind
colors: {
  custom: {
    50: '#fcecac',
    500: '#f7e488',
    950: '#000000',
  },
}
SCSS
$custom: #f7e488;
$custom-light: #fcecac;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e488",
  "rgb": {
    "r": 247,
    "g": 228,
    "b": 136
  },
  "hsl": {
    "h": 49.73,
    "s": 87.402,
    "l": 75.098
  },
  "oklch": {
    "l": 0.91479,
    "c": 0.11465,
    "h": 98
  },
  "luminance": 0.77039
}

Semantic roles & 50–950 ramp

primary
#F7E488
secondary
#4F66D5
accent
#28E402
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F7E488

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

Preview Lab → · Contrast checker → · Palette generator →

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