#F5E780#F5E780

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

Color values

HEX#F5E780
RGBrgb(245, 231, 128)
HSLhsl(53, 85%, 73%)
HSVhsv(53, 48%, 96%)
CMYKcmyk(0%, 5.7%, 47.8%, 3.9%)
CIE-LABlab(90.84, -8.69, 51.50)
CIE-LCHlch(90.84, 52.23, 99.58°)
OKLaboklab(91.8% -0.0253 0.1229)
OKLCHoklch(91.8% 0.125 101.6)
XYZxyz(70.1303, 78.1251, 31.8034)
Luminance0.7812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E780 #808EF5
analogous
#F5AD80 #F5E780 #C8F580
triadic
#F5E780 #80F5E7 #E780F5
tetradic
#F5E780 #80F5AD #808EF5 #F580C8
square
#F5E780 #80F5AD #808EF5 #F580C8
split-complementary
#F5E780 #80C8F5 #AD80F5
monochromatic
#E8CF12 #F1DC47 #F5E780 #F9F2B9 #FDFAE3

Accessibility & contrast

On white

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

On black

16.62
#F5E780 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E780
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E780#FFFFFF#000000##000000
##F5E7801.001.2616.6216.62
#FFFFFF1.261.0021.0021.00
#00000016.6221.001.001.00
##00000016.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E177
Deuteranopia (green-blind)
#FCE885
Tritanopia (blue-blind)
#FFDACF
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f5e780;
/* rgb */ color: rgb(245, 231, 128);
/* oklch */ color: oklch(91.8% 0.125 101.6);
Tailwind
colors: {
  custom: {
    50: '#faeea7',
    500: '#f5e780',
    950: '#000000',
  },
}
SCSS
$custom: #f5e780;
$custom-light: #faeea7;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e780",
  "rgb": {
    "r": 245,
    "g": 231,
    "b": 128
  },
  "hsl": {
    "h": 52.821,
    "s": 85.401,
    "l": 73.137
  },
  "oklch": {
    "l": 0.91801,
    "c": 0.12543,
    "h": 101.6
  },
  "luminance": 0.78123
}

Semantic roles & 50–950 ramp

primary
#F5E780
secondary
#4859D1
accent
#1EE204
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#181610
muted
#868480

Preview Lab

Preview with #F5E780

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

Preview Lab → · Contrast checker → · Palette generator →

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