#F7EC89#F7EC89

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

Color values

HEX#F7EC89
RGBrgb(247, 236, 137)
HSLhsl(54, 87%, 75%)
HSVhsv(54, 45%, 97%)
CMYKcmyk(0%, 4.5%, 44.5%, 3.1%)
CIE-LABlab(92.39, -9.56, 49.13)
CIE-LCHlch(92.39, 50.05, 101.01°)
OKLaboklab(93.11% -0.027 0.1182)
OKLCHoklch(93.11% 0.121 102.9)
XYZxyz(72.8703, 81.5734, 35.5687)
Luminance0.8157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EC89 #8994F7
analogous
#F7B589 #F7EC89 #CBF789
triadic
#F7EC89 #89F7EC #EC89F7
tetradic
#F7EC89 #89F7B5 #8994F7 #F789CB
square
#F7EC89 #89F7B5 #8994F7 #F789CB
split-complementary
#F7EC89 #89CBF7 #B589F7
monochromatic
#EFDA16 #F3E350 #F7EC89 #FBF5C2 #FDFAE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F7EC89#FFFFFF#000000##000000
##F7EC891.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)
#FCE681
Deuteranopia (green-blind)
#FFEC8D
Tritanopia (blue-blind)
#FFE0D4
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f7ec89;
/* rgb */ color: rgb(247, 236, 137);
/* oklch */ color: oklch(93.1% 0.121 102.9);
Tailwind
colors: {
  custom: {
    50: '#fcf2ad',
    500: '#f7ec89',
    950: '#000000',
  },
}
SCSS
$custom: #f7ec89;
$custom-light: #fcf2ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ec89",
  "rgb": {
    "r": 247,
    "g": 236,
    "b": 137
  },
  "hsl": {
    "h": 54,
    "s": 87.302,
    "l": 75.294
  },
  "oklch": {
    "l": 0.93105,
    "c": 0.12125,
    "h": 102.9
  },
  "luminance": 0.81571
}

Semantic roles & 50–950 ramp

primary
#F7EC89
secondary
#505DD5
accent
#18E402
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #F7EC89

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

Preview Lab → · Contrast checker → · Palette generator →

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