#F7E79A#F7E79A

#F7E79A is a very light, moderate yellow. Relative luminance 0.793; OKLCH L 92.4% C 0.098 H 97.9°. Best body text is #000000 at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#F7E79A
RGBrgb(247, 231, 154)
HSLhsl(50, 85%, 79%)
HSVhsv(50, 38%, 97%)
CMYKcmyk(0%, 6.5%, 37.7%, 3.1%)
CIE-LABlab(91.35, -5.32, 39.47)
CIE-LCHlch(91.35, 39.82, 97.67°)
OKLaboklab(92.36% -0.0134 0.0971)
OKLCHoklch(92.36% 0.098 97.9)
XYZxyz(72.7677, 79.2612, 42.0314)
Luminance0.7926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E79A #9AAAF7
analogous
#F7B89A #F7E79A #D8F79A
triadic
#F7E79A #9AF7E7 #E79AF7
tetradic
#F7E79A #9AF7B8 #9AAAF7 #F79AD8
square
#F7E79A #9AF7B8 #9AAAF7 #F79AD8
split-complementary
#F7E79A #9AD8F7 #B89AF7
monochromatic
#EECC29 #F3DA61 #F7E79A #FBF4D3 #FDF8E3

Accessibility & contrast

On white

1.25
#F7E79A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.85
#F7E79A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E79A
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E79A#FFFFFF#000000##000000
##F7E79A1.001.2516.8516.85
#FFFFFF1.251.0021.0021.00
#00000016.8521.001.001.00
##00000016.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E394
Deuteranopia (green-blind)
#FAE99D
Tritanopia (blue-blind)
#FFDCD4
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f7e79a;
/* rgb */ color: rgb(247, 231, 154);
/* oklch */ color: oklch(92.4% 0.098 97.9);
Tailwind
colors: {
  custom: {
    50: '#fbeeb8',
    500: '#f7e79a',
    950: '#000000',
  },
}
SCSS
$custom: #f7e79a;
$custom-light: #fbeeb8;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e79a",
  "rgb": {
    "r": 247,
    "g": 231,
    "b": 154
  },
  "hsl": {
    "h": 49.677,
    "s": 85.321,
    "l": 78.627
  },
  "oklch": {
    "l": 0.92362,
    "c": 0.09806,
    "h": 97.9
  },
  "luminance": 0.79259
}

Semantic roles & 50–950 ramp

primary
#F7E79A
secondary
#5F73D7
accent
#2AE204
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #F7E79A

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

Preview Lab → · Contrast checker → · Palette generator →

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