#F7EC99#F7EC99

#F7EC99 is a very light, moderate yellow. Relative luminance 0.821; OKLCH L 93.3% C 0.104 H 101.7°. Best body text is #000000 at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#F7EC99
RGBrgb(247, 236, 153)
HSLhsl(53, 85%, 78%)
HSVhsv(53, 38%, 97%)
CMYKcmyk(0%, 4.5%, 38.1%, 3.1%)
CIE-LABlab(92.60, -7.93, 41.58)
CIE-LCHlch(92.60, 42.33, 100.80°)
OKLaboklab(93.35% -0.021 0.102)
OKLCHoklch(93.35% 0.104 101.7)
XYZxyz(74.1042, 82.0669, 42.0677)
Luminance0.8206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EC99 #99A4F7
analogous
#F7BD99 #F7EC99 #D3F799
triadic
#F7EC99 #99F7EC #EC99F7
tetradic
#F7EC99 #99F7BD #99A4F7 #F799D3
square
#F7EC99 #99F7BD #99A4F7 #F799D3
split-complementary
#F7EC99 #99D3F7 #BD99F7
monochromatic
#EED727 #F3E160 #F7EC99 #FBF7D2 #FDFAE3

Accessibility & contrast

On white

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

On black

17.41
#F7EC99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EC99
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EC99#FFFFFF#000000##000000
##F7EC991.001.2117.4117.41
#FFFFFF1.211.0021.0021.00
#00000017.4121.001.001.00
##00000017.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE793
Deuteranopia (green-blind)
#FEEC9C
Tritanopia (blue-blind)
#FFE1D7
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f7ec99;
/* rgb */ color: rgb(247, 236, 153);
/* oklch */ color: oklch(93.3% 0.104 101.7);
Tailwind
colors: {
  custom: {
    50: '#fbf2b8',
    500: '#f7ec99',
    950: '#000000',
  },
}
SCSS
$custom: #f7ec99;
$custom-light: #fbf2b8;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ec99",
  "rgb": {
    "r": 247,
    "g": 236,
    "b": 153
  },
  "hsl": {
    "h": 52.979,
    "s": 85.455,
    "l": 78.431
  },
  "oklch": {
    "l": 0.93349,
    "c": 0.10411,
    "h": 101.7
  },
  "luminance": 0.82065
}

Semantic roles & 50–950 ramp

primary
#F7EC99
secondary
#5E6CD6
accent
#1EE204
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #F7EC99

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

Preview Lab → · Contrast checker → · Palette generator →

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