#F5ED77#F5ED77

#F5ED77 is a very light, vivid yellow. Relative luminance 0.813; OKLCH L 92.9% C 0.140 H 105.3°. Best body text is #000000 at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#F5ED77
RGBrgb(245, 237, 119)
HSLhsl(56, 86%, 71%)
HSVhsv(56, 51%, 96%)
CMYKcmyk(0%, 3.3%, 51.4%, 3.9%)
CIE-LABlab(92.27, -12.44, 57.42)
CIE-LCHlch(92.27, 58.75, 102.22°)
OKLaboklab(92.91% -0.0369 0.1351)
OKLCHoklch(92.91% 0.14 105.3)
XYZxyz(71.2721, 81.3149, 29.3902)
Luminance0.8131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5ED77 #777FF5
analogous
#F5AE77 #F5ED77 #BEF577
triadic
#F5ED77 #77F5ED #ED77F5
tetradic
#F5ED77 #77F5AE #777FF5 #F577BE
square
#F5ED77 #77F5AE #777FF5 #F577BE
split-complementary
#F5ED77 #77BEF5 #AE77F5
monochromatic
#E1D411 #F1E53E #F5ED77 #F9F5B0 #FDFBE2

Accessibility & contrast

On white

1.22
#F5ED77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.26
#F5ED77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5ED77
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5ED77#FFFFFF#000000##000000
##F5ED771.001.2217.2617.26
#FFFFFF1.221.0021.0021.00
#00000017.2621.001.001.00
##00000017.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE66C
Deuteranopia (green-blind)
#FFEB7D
Tritanopia (blue-blind)
#FFE0D2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f5ed77;
/* rgb */ color: rgb(245, 237, 119);
/* oklch */ color: oklch(92.9% 0.140 105.3);
Tailwind
colors: {
  custom: {
    50: '#fbf2a1',
    500: '#f5ed77',
    950: '#000000',
  },
}
SCSS
$custom: #f5ed77;
$custom-light: #fbf2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ed77",
  "rgb": {
    "r": 245,
    "g": 237,
    "b": 119
  },
  "hsl": {
    "h": 56.19,
    "s": 86.301,
    "l": 71.373
  },
  "oklch": {
    "l": 0.92907,
    "c": 0.14002,
    "h": 105.3
  },
  "luminance": 0.81313
}

Semantic roles & 50–950 ramp

primary
#F5ED77
secondary
#4049D0
accent
#11E303
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F5ED77

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

Preview Lab → · Contrast checker → · Palette generator →

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