#F7EC88#F7EC88

#F7EC88 is a very light, vivid yellow. Relative luminance 0.815; OKLCH L 93.1% C 0.122 H 102.9°. Best body text is #000000 at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#F7EC88
RGBrgb(247, 236, 136)
HSLhsl(54, 87%, 75%)
HSVhsv(54, 45%, 97%)
CMYKcmyk(0%, 4.5%, 44.9%, 3.1%)
CIE-LABlab(92.37, -9.65, 49.60)
CIE-LCHlch(92.37, 50.53, 101.02°)
OKLaboklab(93.09% -0.0274 0.1192)
OKLCHoklch(93.09% 0.122 102.9)
XYZxyz(72.7989, 81.5448, 35.1927)
Luminance0.8154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EC88 #8893F7
analogous
#F7B488 #F7EC88 #CBF788
triadic
#F7EC88 #88F7EC #EC88F7
tetradic
#F7EC88 #88F7B4 #8893F7 #F788CB
square
#F7EC88 #88F7B4 #8893F7 #F788CB
split-complementary
#F7EC88 #88CBF7 #B488F7
monochromatic
#EFDA15 #F3E34F #F7EC88 #FBF5C1 #FDFAE2

Accessibility & contrast

On white

1.21
#F7EC88 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.31
#F7EC88 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EC88
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EC88#FFFFFF#000000##000000
##F7EC881.001.2117.3117.31
#FFFFFF1.211.0021.0021.00
#00000017.3121.001.001.00
##00000017.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE680
Deuteranopia (green-blind)
#FFEC8C
Tritanopia (blue-blind)
#FFE0D4
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f7ec88;
/* rgb */ color: rgb(247, 236, 136);
/* oklch */ color: oklch(93.1% 0.122 102.9);
Tailwind
colors: {
  custom: {
    50: '#fcf2ac',
    500: '#f7ec88',
    950: '#000000',
  },
}
SCSS
$custom: #f7ec88;
$custom-light: #fcf2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ec88",
  "rgb": {
    "r": 247,
    "g": 236,
    "b": 136
  },
  "hsl": {
    "h": 54.054,
    "s": 87.402,
    "l": 75.098
  },
  "oklch": {
    "l": 0.9309,
    "c": 0.12228,
    "h": 102.9
  },
  "luminance": 0.81543
}

Semantic roles & 50–950 ramp

primary
#F7EC88
secondary
#4F5CD5
accent
#18E402
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #F7EC88

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

Preview Lab → · Contrast checker → · Palette generator →

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