#F5F55C#F5F55C

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

Color values

HEX#F5F55C
RGBrgb(245, 245, 92)
HSLhsl(60, 88%, 66%)
HSVhsv(60, 62%, 96%)
CMYKcmyk(0%, 0%, 62.4%, 3.9%)
CIE-LABlab(94.09, -18.24, 71.02)
CIE-LCHlch(94.09, 73.33, 104.40°)
OKLaboklab(94.28% -0.0562 0.1609)
OKLCHoklch(94.28% 0.17 109.3)
XYZxyz(72.2427, 85.4920, 22.8192)
Luminance0.8549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F55C #5C5CF5
analogous
#F5A85C #F5F55C #A8F55C
triadic
#F5F55C #5CF5F5 #F55CF5
tetradic
#F5F55C #5CF5A8 #5C5CF5 #F55CA8
square
#F5F55C #5CF5A8 #5C5CF5 #F55CA8
split-complementary
#F5F55C #5CA8F5 #A85CF5
monochromatic
#CACA0C #F1F122 #F5F55C #F9F996 #FCFCCF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5F55C#FFFFFF#000000##000000
##F5F55C1.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)
#FFEB48
Deuteranopia (green-blind)
#FFF066
Tritanopia (blue-blind)
#FFE6D5
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f5f55c;
/* rgb */ color: rgb(245, 245, 92);
/* oklch */ color: oklch(94.3% 0.170 109.3);
Tailwind
colors: {
  custom: {
    50: '#fcf891',
    500: '#f5f55c',
    950: '#000000',
  },
}
SCSS
$custom: #f5f55c;
$custom-light: #fcf891;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f55c",
  "rgb": {
    "r": 245,
    "g": 245,
    "b": 92
  },
  "hsl": {
    "h": 60,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.9428,
    "c": 0.17045,
    "h": 109.3
  },
  "luminance": 0.8549
}

Semantic roles & 50–950 ramp

primary
#F5F55C
secondary
#2F2FC6
accent
#00E500
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F5F55C

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

Preview Lab → · Contrast checker → · Palette generator →

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