#F5E770#F5E770

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

Color values

HEX#F5E770
RGBrgb(245, 231, 112)
HSLhsl(54, 87%, 70%)
HSVhsv(54, 54%, 96%)
CMYKcmyk(0%, 5.7%, 54.3%, 3.9%)
CIE-LABlab(90.66, -10.02, 58.73)
CIE-LCHlch(90.66, 59.58, 99.68°)
OKLaboklab(91.6% -0.0308 0.1372)
OKLCHoklch(91.6% 0.141 102.6)
XYZxyz(69.1590, 77.7366, 26.6878)
Luminance0.7773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E770 #707EF5
analogous
#F5A470 #F5E770 #C1F570
triadic
#F5E770 #70F5E7 #E770F5
tetradic
#F5E770 #70F5A4 #707EF5 #F570C1
square
#F5E770 #70F5A4 #707EF5 #F570C1
split-complementary
#F5E770 #70C1F5 #A470F5
monochromatic
#DBC60F #F1DD37 #F5E770 #F9F1A9 #FDFAE2

Accessibility & contrast

On white

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

On black

16.55
#F5E770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E770
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E770#FFFFFF#000000##000000
##F5E7701.001.2716.5516.55
#FFFFFF1.271.0021.0021.00
#00000016.5521.001.001.00
##00000016.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5e770;
/* rgb */ color: rgb(245, 231, 112);
/* oklch */ color: oklch(91.6% 0.141 102.6);
Tailwind
colors: {
  custom: {
    50: '#fbee9c',
    500: '#f5e770',
    950: '#000000',
  },
}
SCSS
$custom: #f5e770;
$custom-light: #fbee9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e770",
  "rgb": {
    "r": 245,
    "g": 231,
    "b": 112
  },
  "hsl": {
    "h": 53.684,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.91602,
    "c": 0.14061,
    "h": 102.6
  },
  "luminance": 0.77734
}

Semantic roles & 50–950 ramp

primary
#F5E770
secondary
#3A4ACF
accent
#1AE302
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E770

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

Preview Lab → · Contrast checker → · Palette generator →

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