#F7EF8A#F7EF8A

#F7EF8A is a very light, vivid yellow. Relative luminance 0.833; OKLCH L 93.7% C 0.123 H 104.5°. Best body text is #000000 at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#F7EF8A
RGBrgb(247, 239, 138)
HSLhsl(56, 87%, 75%)
HSVhsv(56, 44%, 97%)
CMYKcmyk(0%, 3.2%, 44.1%, 3.1%)
CIE-LABlab(93.16, -10.95, 49.61)
CIE-LCHlch(93.16, 50.81, 102.45°)
OKLaboklab(93.73% -0.0309 0.1194)
OKLCHoklch(93.73% 0.123 104.5)
XYZxyz(73.8133, 83.3442, 36.2386)
Luminance0.8334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EF8A #8A92F7
analogous
#F7B88A #F7EF8A #C9F78A
triadic
#F7EF8A #8AF7EF #EF8AF7
tetradic
#F7EF8A #8AF7B8 #8A92F7 #F78AC9
square
#F7EF8A #8AF7B8 #8A92F7 #F78AC9
split-complementary
#F7EF8A #8AC9F7 #B88AF7
monochromatic
#EFDF17 #F3E751 #F7EF8A #FBF7C3 #FDFBE2

Accessibility & contrast

On white

1.19
#F7EF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.67
#F7EF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EF8A
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EF8A#FFFFFF#000000##000000
##F7EF8A1.001.1917.6717.67
#FFFFFF1.191.0021.0021.00
#00000017.6721.001.001.00
##00000017.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE882
Deuteranopia (green-blind)
#FFEE8E
Tritanopia (blue-blind)
#FFE3D7
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f7ef8a;
/* rgb */ color: rgb(247, 239, 138);
/* oklch */ color: oklch(93.7% 0.123 104.5);
Tailwind
colors: {
  custom: {
    50: '#fbf4ae',
    500: '#f7ef8a',
    950: '#000000',
  },
}
SCSS
$custom: #f7ef8a;
$custom-light: #fbf4ae;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ef8a",
  "rgb": {
    "r": 247,
    "g": 239,
    "b": 138
  },
  "hsl": {
    "h": 55.596,
    "s": 87.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.93727,
    "c": 0.1233,
    "h": 104.5
  },
  "luminance": 0.83342
}

Semantic roles & 50–950 ramp

primary
#F7EF8A
secondary
#505AD5
accent
#12E402
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F7EF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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