#F5F876#F5F876

#F5F876 is a very light, vivid yellow. Relative luminance 0.879; OKLCH L 95.2% C 0.152 H 110.2°. Best body text is #000000 at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#F5F876
RGBrgb(245, 248, 118)
HSLhsl(61, 90%, 72%)
HSVhsv(61, 52%, 97%)
CMYKcmyk(1.2%, 0%, 52.4%, 2.7%)
CIE-LABlab(95.10, -17.88, 61.17)
CIE-LCHlch(95.10, 63.73, 106.30°)
OKLaboklab(95.16% -0.0526 0.1431)
OKLCHoklch(95.16% 0.152 110.2)
XYZxyz(74.4954, 87.8570, 30.1699)
Luminance0.8786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F876 #7976F8
analogous
#F8BA76 #F5F876 #B4F876
triadic
#F5F876 #76F5F8 #F876F5
tetradic
#F5F876 #76F8BA #7976F8 #F876B4
square
#F5F876 #76F8BA #7976F8 #F876B4
split-complementary
#F5F876 #76B4F8 #BA76F8
monochromatic
#E3E80C #F1F53C #F5F876 #F9FBB0 #FDFEE2

Accessibility & contrast

On white

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

On black

18.57
#F5F876 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F876
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F876#FFFFFF#000000##000000
##F5F8761.001.1318.5718.57
#FFFFFF1.131.0021.0021.00
#00000018.5721.001.001.00
##00000018.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF69
Deuteranopia (green-blind)
#FFF37D
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f5f876;
/* rgb */ color: rgb(245, 248, 118);
/* oklch */ color: oklch(95.2% 0.152 110.2);
Tailwind
colors: {
  custom: {
    50: '#fbfaa1',
    500: '#f5f876',
    950: '#000000',
  },
}
SCSS
$custom: #f5f876;
$custom-light: #fbfaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f876",
  "rgb": {
    "r": 245,
    "g": 248,
    "b": 118
  },
  "hsl": {
    "h": 61.385,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.95156,
    "c": 0.15242,
    "h": 110.2
  },
  "luminance": 0.87855
}

Semantic roles & 50–950 ramp

primary
#F5F876
secondary
#423FD4
accent
#00E605
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F5F876

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

Preview Lab → · Contrast checker → · Palette generator →

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