#F5F554#F5F554

#F5F554 is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.2% C 0.176 H 109.4°. Best body text is #000000 at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#F5F554
RGBrgb(245, 245, 84)
HSLhsl(60, 89%, 65%)
HSVhsv(60, 66%, 96%)
CMYKcmyk(0%, 0%, 65.7%, 3.9%)
CIE-LABlab(94.04, -18.70, 74.03)
CIE-LCHlch(94.04, 76.36, 104.17°)
OKLaboklab(94.22% -0.0583 0.1661)
OKLCHoklch(94.22% 0.176 109.4)
XYZxyz(71.9112, 85.3595, 21.0738)
Luminance0.8536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F554 #5454F5
analogous
#F5A554 #F5F554 #A5F554
triadic
#F5F554 #54F5F5 #F554F5
tetradic
#F5F554 #54F5A5 #5454F5 #F554A5
square
#F5F554 #54F5A5 #5454F5 #F554A5
split-complementary
#F5F554 #54A5F5 #A554F5
monochromatic
#C3C30B #F2F21A #F5F554 #F8F88E #FCFCC8

Accessibility & contrast

On white

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

On black

18.07
#F5F554 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F554
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F554#FFFFFF#000000##000000
##F5F5541.001.1618.0718.07
#FFFFFF1.161.0021.0021.00
#00000018.0721.001.001.00
##00000018.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB3C
Deuteranopia (green-blind)
#FFF05F
Tritanopia (blue-blind)
#FFE6D5
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f5f554;
/* rgb */ color: rgb(245, 245, 84);
/* oklch */ color: oklch(94.2% 0.176 109.4);
Tailwind
colors: {
  custom: {
    50: '#fcf88c',
    500: '#f5f554',
    950: '#000000',
  },
}
SCSS
$custom: #f5f554;
$custom-light: #fcf88c;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f554",
  "rgb": {
    "r": 245,
    "g": 245,
    "b": 84
  },
  "hsl": {
    "h": 60,
    "s": 88.95,
    "l": 64.51
  },
  "oklch": {
    "l": 0.94217,
    "c": 0.176,
    "h": 109.4
  },
  "luminance": 0.85357
}

Semantic roles & 50–950 ramp

primary
#F5F554
secondary
#2D2DC0
accent
#00E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F5F554

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

Preview Lab → · Contrast checker → · Palette generator →

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