#F7F78E#F7F78E

#F7F78E is a very light, vivid yellow. Relative luminance 0.882; OKLCH L 95.4% C 0.128 H 108.6°. Best body text is #000000 at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#F7F78E
RGBrgb(247, 247, 142)
HSLhsl(60, 87%, 76%)
HSVhsv(60, 43%, 97%)
CMYKcmyk(0%, 0%, 42.5%, 3.1%)
CIE-LABlab(95.27, -14.49, 50.30)
CIE-LCHlch(95.27, 52.35, 106.07°)
OKLaboklab(95.41% -0.0408 0.1211)
OKLCHoklch(95.41% 0.128 108.6)
XYZxyz(76.5024, 88.2503, 38.5900)
Luminance0.8825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F78E #8E8EF7
analogous
#F7C38E #F7F78E #C3F78E
triadic
#F7F78E #8EF7F7 #F78EF7
tetradic
#F7F78E #8EF7C3 #8E8EF7 #F78EC3
square
#F7F78E #8EF7C3 #8E8EF7 #F78EC3
split-complementary
#F7F78E #8EC3F7 #C38EF7
monochromatic
#EFEF1C #F3F355 #F7F78E #FBFBC7 #FDFDE2

Accessibility & contrast

On white

1.13
#F7F78E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.65
#F7F78E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F78E
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F78E#FFFFFF#000000##000000
##F7F78E1.001.1318.6518.65
#FFFFFF1.131.0021.0021.00
#00000018.6521.001.001.00
##00000018.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF85
Deuteranopia (green-blind)
#FFF393
Tritanopia (blue-blind)
#FFEBDE
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f7f78e;
/* rgb */ color: rgb(247, 247, 142);
/* oklch */ color: oklch(95.4% 0.128 108.6);
Tailwind
colors: {
  custom: {
    50: '#fbf9b1',
    500: '#f7f78e',
    950: '#000000',
  },
}
SCSS
$custom: #f7f78e;
$custom-light: #fbf9b1;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f78e",
  "rgb": {
    "r": 247,
    "g": 247,
    "b": 142
  },
  "hsl": {
    "h": 60,
    "s": 86.777,
    "l": 76.275
  },
  "oklch": {
    "l": 0.95413,
    "c": 0.1278,
    "h": 108.6
  },
  "luminance": 0.88249
}

Semantic roles & 50–950 ramp

primary
#F7F78E
secondary
#5454D5
accent
#02E302
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #F7F78E

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

Preview Lab → · Contrast checker → · Palette generator →

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