#F5E76F#F5E76F

#F5E76F is a very light, vivid yellow. Relative luminance 0.777; OKLCH L 91.6% C 0.142 H 102.7°. Best body text is #000000 at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#F5E76F
RGBrgb(245, 231, 111)
HSLhsl(54, 87%, 70%)
HSVhsv(54, 55%, 96%)
CMYKcmyk(0%, 5.7%, 54.7%, 3.9%)
CIE-LABlab(90.65, -10.10, 59.17)
CIE-LCHlch(90.65, 60.03, 99.68°)
OKLaboklab(91.59% -0.0311 0.1381)
OKLCHoklch(91.59% 0.142 102.7)
XYZxyz(69.1036, 77.7144, 26.3962)
Luminance0.7771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E76F #6F7DF5
analogous
#F5A46F #F5E76F #C0F56F
triadic
#F5E76F #6FF5E7 #E76FF5
tetradic
#F5E76F #6FF5A4 #6F7DF5 #F56FC0
square
#F5E76F #6FF5A4 #6F7DF5 #F56FC0
split-complementary
#F5E76F #6FC0F5 #A46FF5
monochromatic
#DAC50F #F1DD36 #F5E76F #F9F1A8 #FDFAE1

Accessibility & contrast

On white

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

On black

16.54
#F5E76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E76F
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E76F#FFFFFF#000000##000000
##F5E76F1.001.2716.5416.54
#FFFFFF1.271.0021.0021.00
#00000016.5421.001.001.00
##00000016.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5e76f;
/* rgb */ color: rgb(245, 231, 111);
/* oklch */ color: oklch(91.6% 0.142 102.7);
Tailwind
colors: {
  custom: {
    50: '#fbee9c',
    500: '#f5e76f',
    950: '#000000',
  },
}
SCSS
$custom: #f5e76f;
$custom-light: #fbee9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e76f",
  "rgb": {
    "r": 245,
    "g": 231,
    "b": 111
  },
  "hsl": {
    "h": 53.731,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.91591,
    "c": 0.14151,
    "h": 102.7
  },
  "luminance": 0.77712
}

Semantic roles & 50–950 ramp

primary
#F5E76F
secondary
#3949CF
accent
#1AE402
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E76F

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

Preview Lab → · Contrast checker → · Palette generator →

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