#F5F78E#F5F78E

#F5F78E is a very light, vivid yellow. Relative luminance 0.879; OKLCH L 95.3% C 0.128 H 109.6°. Best body text is #000000 at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#F5F78E
RGBrgb(245, 247, 142)
HSLhsl(61, 87%, 76%)
HSVhsv(61, 43%, 97%)
CMYKcmyk(0.8%, 0%, 42.5%, 3.1%)
CIE-LABlab(95.11, -15.26, 50.08)
CIE-LCHlch(95.11, 52.35, 106.95°)
OKLaboklab(95.26% -0.0429 0.1207)
OKLCHoklch(95.26% 0.128 109.6)
XYZxyz(75.8007, 87.8885, 38.5571)
Luminance0.8789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F78E #908EF7
analogous
#F7C58E #F5F78E #C1F78E
triadic
#F5F78E #8EF5F7 #F78EF5
tetradic
#F5F78E #8EF7C5 #908EF7 #F78EC1
square
#F5F78E #8EF7C5 #908EF7 #F78EC1
split-complementary
#F5F78E #8EC1F7 #C58EF7
monochromatic
#EBEF1C #F0F355 #F5F78E #FAFBC7 #FCFDE2

Accessibility & contrast

On white

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

On black

18.58
#F5F78E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F78E
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F78E#FFFFFF#000000##000000
##F5F78E1.001.1318.5818.58
#FFFFFF1.131.0021.0021.00
#00000018.5821.001.001.00
##00000018.5821.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: #f5f78e;
/* rgb */ color: rgb(245, 247, 142);
/* oklch */ color: oklch(95.3% 0.128 109.6);
Tailwind
colors: {
  custom: {
    50: '#faf9b1',
    500: '#f5f78e',
    950: '#000000',
  },
}
SCSS
$custom: #f5f78e;
$custom-light: #faf9b1;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f78e",
  "rgb": {
    "r": 245,
    "g": 247,
    "b": 142
  },
  "hsl": {
    "h": 61.143,
    "s": 86.777,
    "l": 76.275
  },
  "oklch": {
    "l": 0.95255,
    "c": 0.12805,
    "h": 109.6
  },
  "luminance": 0.87887
}

Semantic roles & 50–950 ramp

primary
#F5F78E
secondary
#5654D5
accent
#02E306
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #F5F78E

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

Preview Lab → · Contrast checker → · Palette generator →

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