#F5F780#F5F780

#F5F780 is a very light, vivid yellow. Relative luminance 0.875; OKLCH L 95.1% C 0.142 H 109.7°. Best body text is #000000 at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#F5F780
RGBrgb(245, 247, 128)
HSLhsl(61, 88%, 74%)
HSVhsv(61, 48%, 97%)
CMYKcmyk(0.8%, 0%, 48.2%, 3.1%)
CIE-LABlab(94.95, -16.56, 56.45)
CIE-LCHlch(94.95, 58.83, 106.35°)
OKLaboklab(95.07% -0.0478 0.1337)
OKLCHoklch(95.07% 0.142 109.7)
XYZxyz(74.8148, 87.4942, 33.3649)
Luminance0.8749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F780 #8280F7
analogous
#F7BD80 #F5F780 #B9F780
triadic
#F5F780 #80F5F7 #F780F5
tetradic
#F5F780 #80F7BD #8280F7 #F780B9
square
#F5F780 #80F7BD #8280F7 #F780B9
split-complementary
#F5F780 #80B9F7 #BD80F7
monochromatic
#EAEE0F #F0F346 #F5F780 #FAFBBA #FDFDE2

Accessibility & contrast

On white

1.14
#F5F780 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.50
#F5F780 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F780
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F780#FFFFFF#000000##000000
##F5F7801.001.1418.5018.50
#FFFFFF1.141.0021.0021.00
#00000018.5021.001.001.00
##00000018.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE75
Deuteranopia (green-blind)
#FFF286
Tritanopia (blue-blind)
#FFEADC
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f5f780;
/* rgb */ color: rgb(245, 247, 128);
/* oklch */ color: oklch(95.1% 0.142 109.7);
Tailwind
colors: {
  custom: {
    50: '#faf9a7',
    500: '#f5f780',
    950: '#000000',
  },
}
SCSS
$custom: #f5f780;
$custom-light: #faf9a7;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f780",
  "rgb": {
    "r": 245,
    "g": 247,
    "b": 128
  },
  "hsl": {
    "h": 61.008,
    "s": 88.148,
    "l": 73.529
  },
  "oklch": {
    "l": 0.95068,
    "c": 0.14204,
    "h": 109.7
  },
  "luminance": 0.87493
}

Semantic roles & 50–950 ramp

primary
#F5F780
secondary
#4A48D4
accent
#01E505
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F5F780

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

Preview Lab → · Contrast checker → · Palette generator →

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