#F5E876#F5E876

#F5E876 is a very light, vivid yellow. Relative luminance 0.784; OKLCH L 91.9% C 0.136 H 102.8°. Best body text is #000000 at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#F5E876
RGBrgb(245, 232, 118)
HSLhsl(54, 86%, 71%)
HSVhsv(54, 52%, 96%)
CMYKcmyk(0%, 5.3%, 51.8%, 3.9%)
CIE-LABlab(90.98, -10.04, 56.36)
CIE-LCHlch(90.98, 57.25, 100.10°)
OKLaboklab(91.88% -0.0302 0.1327)
OKLCHoklch(91.88% 0.136 102.8)
XYZxyz(69.7849, 78.4361, 28.5997)
Luminance0.7843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E876 #7683F5
analogous
#F5A876 #F5E876 #C2F576
triadic
#F5E876 #76F5E8 #E876F5
tetradic
#F5E876 #76F5A8 #7683F5 #F576C2
square
#F5E876 #76F5A8 #7683F5 #F576C2
split-complementary
#F5E876 #76C2F5 #A876F5
monochromatic
#E0CB10 #F1DE3D #F5E876 #F9F2AF #FDFAE2

Accessibility & contrast

On white

1.26
#F5E876 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.69
#F5E876 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E876
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E876#FFFFFF#000000##000000
##F5E8761.001.2616.6916.69
#FFFFFF1.261.0021.0021.00
#00000016.6921.001.001.00
##00000016.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E26B
Deuteranopia (green-blind)
#FEE87B
Tritanopia (blue-blind)
#FFDBCE
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f5e876;
/* rgb */ color: rgb(245, 232, 118);
/* oklch */ color: oklch(91.9% 0.136 102.8);
Tailwind
colors: {
  custom: {
    50: '#fbefa0',
    500: '#f5e876',
    950: '#000000',
  },
}
SCSS
$custom: #f5e876;
$custom-light: #fbefa0;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e876",
  "rgb": {
    "r": 245,
    "g": 232,
    "b": 118
  },
  "hsl": {
    "h": 53.858,
    "s": 86.395,
    "l": 71.176
  },
  "oklch": {
    "l": 0.91876,
    "c": 0.13605,
    "h": 102.8
  },
  "luminance": 0.78434
}

Semantic roles & 50–950 ramp

primary
#F5E876
secondary
#3F4ED0
accent
#1AE303
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F5E876

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

Preview Lab → · Contrast checker → · Palette generator →

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