#F5EC76#F5EC76

#F5EC76 is a very light, vivid yellow. Relative luminance 0.807; OKLCH L 92.7% C 0.140 H 104.8°. Best body text is #000000 at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#F5EC76
RGBrgb(245, 236, 118)
HSLhsl(56, 86%, 71%)
HSVhsv(56, 52%, 96%)
CMYKcmyk(0%, 3.7%, 51.8%, 3.9%)
CIE-LABlab(92.00, -12.02, 57.57)
CIE-LCHlch(92.00, 58.81, 101.80°)
OKLaboklab(92.69% -0.0359 0.1353)
OKLCHoklch(92.69% 0.14 104.8)
XYZxyz(70.9237, 80.7136, 28.9793)
Luminance0.8071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EC76 #767FF5
analogous
#F5AC76 #F5EC76 #BEF576
triadic
#F5EC76 #76F5EC #EC76F5
tetradic
#F5EC76 #76F5AC #767FF5 #F576BE
square
#F5EC76 #76F5AC #767FF5 #F576BE
split-complementary
#F5EC76 #76BEF5 #AC76F5
monochromatic
#E0D210 #F1E43D #F5EC76 #F9F4AF #FDFBE2

Accessibility & contrast

On white

1.23
#F5EC76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.14
#F5EC76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EC76
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EC76#FFFFFF#000000##000000
##F5EC761.001.2317.1417.14
#FFFFFF1.231.0021.0021.00
#00000017.1421.001.001.00
##00000017.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE56B
Deuteranopia (green-blind)
#FFEB7C
Tritanopia (blue-blind)
#FFDFD1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f5ec76;
/* rgb */ color: rgb(245, 236, 118);
/* oklch */ color: oklch(92.7% 0.140 104.8);
Tailwind
colors: {
  custom: {
    50: '#fbf1a0',
    500: '#f5ec76',
    950: '#000000',
  },
}
SCSS
$custom: #f5ec76;
$custom-light: #fbf1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ec76",
  "rgb": {
    "r": 245,
    "g": 236,
    "b": 118
  },
  "hsl": {
    "h": 55.748,
    "s": 86.395,
    "l": 71.176
  },
  "oklch": {
    "l": 0.92691,
    "c": 0.13995,
    "h": 104.8
  },
  "luminance": 0.80711
}

Semantic roles & 50–950 ramp

primary
#F5EC76
secondary
#3F4AD0
accent
#12E303
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F5EC76

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

Preview Lab → · Contrast checker → · Palette generator →

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