#F5F479#F5F479

#F5F479 is a very light, vivid yellow. Relative luminance 0.855; OKLCH L 94.4% C 0.145 H 108.5°. Best body text is #000000 at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#F5F479
RGBrgb(245, 244, 121)
HSLhsl(60, 86%, 72%)
HSVhsv(60, 51%, 96%)
CMYKcmyk(0%, 0.4%, 50.6%, 3.9%)
CIE-LABlab(94.10, -15.70, 58.65)
CIE-LCHlch(94.10, 60.71, 104.99°)
OKLaboklab(94.37% -0.0461 0.1379)
OKLCHoklch(94.37% 0.145 108.5)
XYZxyz(73.4599, 85.4962, 30.7182)
Luminance0.8549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F479 #797AF5
analogous
#F5B679 #F5F479 #B8F579
triadic
#F5F479 #79F5F4 #F479F5
tetradic
#F5F479 #79F5B6 #797AF5 #F579B8
square
#F5F479 #79F5B6 #797AF5 #F579B8
split-complementary
#F5F479 #79B8F5 #B679F5
monochromatic
#E3E111 #F1EF40 #F5F479 #F9F9B2 #FDFDE3

Accessibility & contrast

On white

1.16
#F5F479 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.10
#F5F479 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F479
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F479#FFFFFF#000000##000000
##F5F4791.001.1618.1018.10
#FFFFFF1.161.0021.0021.00
#00000018.1021.001.001.00
##00000018.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6D
Deuteranopia (green-blind)
#FFF07F
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f5f479;
/* rgb */ color: rgb(245, 244, 121);
/* oklch */ color: oklch(94.4% 0.145 108.5);
Tailwind
colors: {
  custom: {
    50: '#fbf7a3',
    500: '#f5f479',
    950: '#000000',
  },
}
SCSS
$custom: #f5f479;
$custom-light: #fbf7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f479",
  "rgb": {
    "r": 245,
    "g": 244,
    "b": 121
  },
  "hsl": {
    "h": 59.516,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.94366,
    "c": 0.1454,
    "h": 108.5
  },
  "luminance": 0.85494
}

Semantic roles & 50–950 ramp

primary
#F5F479
secondary
#4243D0
accent
#05E303
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F5F479

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

Preview Lab → · Contrast checker → · Palette generator →

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