#F5E76A#F5E76A

#F5E76A is a very light, vivid yellow. Relative luminance 0.776; OKLCH L 91.5% C 0.146 H 102.9°. Best body text is #000000 at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#F5E76A
RGBrgb(245, 231, 106)
HSLhsl(54, 87%, 69%)
HSVhsv(54, 57%, 96%)
CMYKcmyk(0%, 5.7%, 56.7%, 3.9%)
CIE-LABlab(90.60, -10.47, 61.35)
CIE-LCHlch(90.60, 62.23, 99.68°)
OKLaboklab(91.54% -0.0327 0.1422)
OKLCHoklch(91.54% 0.146 102.9)
XYZxyz(68.8360, 77.6074, 24.9866)
Luminance0.7761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E76A #6A78F5
analogous
#F5A26A #F5E76A #BEF56A
triadic
#F5E76A #6AF5E7 #E76AF5
tetradic
#F5E76A #6AF5A2 #6A78F5 #F56ABE
square
#F5E76A #6AF5A2 #6A78F5 #F56ABE
split-complementary
#F5E76A #6ABEF5 #A26AF5
monochromatic
#D6C20E #F1DE31 #F5E76A #F9F0A3 #FDF9DD

Accessibility & contrast

On white

1.27
#F5E76A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.52
#F5E76A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E76A
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E76A#FFFFFF#000000##000000
##F5E76A1.001.2716.5216.52
#FFFFFF1.271.0021.0021.00
#00000016.5221.001.001.00
##00000016.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E05D
Deuteranopia (green-blind)
#FEE770
Tritanopia (blue-blind)
#FFD9CC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f5e76a;
/* rgb */ color: rgb(245, 231, 106);
/* oklch */ color: oklch(91.5% 0.146 102.9);
Tailwind
colors: {
  custom: {
    50: '#fbee99',
    500: '#f5e76a',
    950: '#000000',
  },
}
SCSS
$custom: #f5e76a;
$custom-light: #fbee99;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e76a",
  "rgb": {
    "r": 245,
    "g": 231,
    "b": 106
  },
  "hsl": {
    "h": 53.957,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.91536,
    "c": 0.14588,
    "h": 102.9
  },
  "luminance": 0.77605
}

Semantic roles & 50–950 ramp

primary
#F5E76A
secondary
#3544CE
accent
#18E402
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E76A

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

Preview Lab → · Contrast checker → · Palette generator →

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