#F5E77E#F5E77E

#F5E77E is a very light, vivid yellow. Relative luminance 0.781; OKLCH L 91.8% C 0.127 H 101.8°. Best body text is #000000 at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#F5E77E
RGBrgb(245, 231, 126)
HSLhsl(53, 86%, 73%)
HSVhsv(53, 49%, 96%)
CMYKcmyk(0%, 5.7%, 48.6%, 3.9%)
CIE-LABlab(90.81, -8.87, 52.42)
CIE-LCHlch(90.81, 53.17, 99.60°)
OKLaboklab(91.77% -0.026 0.1247)
OKLCHoklch(91.77% 0.127 101.8)
XYZxyz(69.9999, 78.0730, 31.1169)
Luminance0.7807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E77E #7E8CF5
analogous
#F5AB7E #F5E77E #C8F57E
triadic
#F5E77E #7EF5E7 #E77EF5
tetradic
#F5E77E #7EF5AB #7E8CF5 #F57EC8
square
#F5E77E #7EF5AB #7E8CF5 #F57EC8
split-complementary
#F5E77E #7EC8F5 #AB7EF5
monochromatic
#E7CE12 #F1DC45 #F5E77E #F9F2B7 #FDFAE3

Accessibility & contrast

On white

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

On black

16.61
#F5E77E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E77E
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E77E#FFFFFF#000000##000000
##F5E77E1.001.2616.6116.61
#FFFFFF1.261.0021.0021.00
#00000016.6121.001.001.00
##00000016.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E175
Deuteranopia (green-blind)
#FCE883
Tritanopia (blue-blind)
#FFDACE
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f5e77e;
/* rgb */ color: rgb(245, 231, 126);
/* oklch */ color: oklch(91.8% 0.127 101.8);
Tailwind
colors: {
  custom: {
    50: '#faeea5',
    500: '#f5e77e',
    950: '#000000',
  },
}
SCSS
$custom: #f5e77e;
$custom-light: #faeea5;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e77e",
  "rgb": {
    "r": 245,
    "g": 231,
    "b": 126
  },
  "hsl": {
    "h": 52.941,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.91774,
    "c": 0.12742,
    "h": 101.8
  },
  "luminance": 0.78071
}

Semantic roles & 50–950 ramp

primary
#F5E77E
secondary
#4657D1
accent
#1EE203
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E77E

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

Preview Lab → · Contrast checker → · Palette generator →

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