#F7EC81#F7EC81

#F7EC81 is a very light, vivid yellow. Relative luminance 0.814; OKLCH L 93.0% C 0.129 H 103.4°. Best body text is #000000 at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#F7EC81
RGBrgb(247, 236, 129)
HSLhsl(54, 88%, 74%)
HSVhsv(54, 48%, 97%)
CMYKcmyk(0%, 4.5%, 47.8%, 3.1%)
CIE-LABlab(92.29, -10.30, 52.83)
CIE-LCHlch(92.29, 53.82, 101.03°)
OKLaboklab(93% -0.0299 0.1258)
OKLCHoklch(93% 0.129 103.4)
XYZxyz(72.3175, 81.3523, 32.6577)
Luminance0.8135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EC81 #818CF7
analogous
#F7B181 #F7EC81 #C7F781
triadic
#F7EC81 #81F7EC #EC81F7
tetradic
#F7EC81 #81F7B1 #818CF7 #F781C7
square
#F7EC81 #81F7B1 #818CF7 #F781C7
split-complementary
#F7EC81 #81C7F7 #B181F7
monochromatic
#EEDA0F #F3E347 #F7EC81 #FBF5BB #FDFBE2

Accessibility & contrast

On white

1.22
#F7EC81 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.27
#F7EC81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EC81
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EC81#FFFFFF#000000##000000
##F7EC811.001.2217.2717.27
#FFFFFF1.221.0021.0021.00
#00000017.2721.001.001.00
##00000017.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE678
Deuteranopia (green-blind)
#FFEC86
Tritanopia (blue-blind)
#FFDFD3
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f7ec81;
/* rgb */ color: rgb(247, 236, 129);
/* oklch */ color: oklch(93.0% 0.129 103.4);
Tailwind
colors: {
  custom: {
    50: '#fcf2a8',
    500: '#f7ec81',
    950: '#000000',
  },
}
SCSS
$custom: #f7ec81;
$custom-light: #fcf2a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ec81",
  "rgb": {
    "r": 247,
    "g": 236,
    "b": 129
  },
  "hsl": {
    "h": 54.407,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.92995,
    "c": 0.12935,
    "h": 103.4
  },
  "luminance": 0.8135
}

Semantic roles & 50–950 ramp

primary
#F7EC81
secondary
#4955D4
accent
#16E501
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #F7EC81

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

Preview Lab → · Contrast checker → · Palette generator →

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