#F5F376#F5F376

#F5F376 is a very light, vivid yellow. Relative luminance 0.848; OKLCH L 94.1% C 0.147 H 108.1°. Best body text is #000000 at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#F5F376
RGBrgb(245, 243, 118)
HSLhsl(59, 86%, 71%)
HSVhsv(59, 52%, 96%)
CMYKcmyk(0%, 0.8%, 51.8%, 3.9%)
CIE-LABlab(93.81, -15.46, 59.67)
CIE-LCHlch(93.81, 61.64, 104.52°)
OKLaboklab(94.13% -0.0457 0.1398)
OKLCHoklch(94.13% 0.147 108.1)
XYZxyz(72.9787, 84.8236, 29.6643)
Luminance0.8482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F376 #7678F5
analogous
#F5B376 #F5F376 #B7F576
triadic
#F5F376 #76F5F3 #F376F5
tetradic
#F5F376 #76F5B3 #7678F5 #F576B7
square
#F5F376 #76F5B3 #7678F5 #F576B7
split-complementary
#F5F376 #76B7F5 #B376F5
monochromatic
#E0DD10 #F1EE3D #F5F376 #F9F8AF #FDFDE2

Accessibility & contrast

On white

1.17
#F5F376 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.96
#F5F376 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F376
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F376#FFFFFF#000000##000000
##F5F3761.001.1717.9617.96
#FFFFFF1.171.0021.0021.00
#00000017.9621.001.001.00
##00000017.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6A
Deuteranopia (green-blind)
#FFEF7C
Tritanopia (blue-blind)
#FFE6D7
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f5f376;
/* rgb */ color: rgb(245, 243, 118);
/* oklch */ color: oklch(94.1% 0.147 108.1);
Tailwind
colors: {
  custom: {
    50: '#fbf6a1',
    500: '#f5f376',
    950: '#000000',
  },
}
SCSS
$custom: #f5f376;
$custom-light: #fbf6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f376",
  "rgb": {
    "r": 245,
    "g": 243,
    "b": 118
  },
  "hsl": {
    "h": 59.055,
    "s": 86.395,
    "l": 71.176
  },
  "oklch": {
    "l": 0.94125,
    "c": 0.1471,
    "h": 108.1
  },
  "luminance": 0.84822
}

Semantic roles & 50–950 ramp

primary
#F5F376
secondary
#3F42D0
accent
#06E303
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F5F376

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

Preview Lab → · Contrast checker → · Palette generator →

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