#F5F55E#F5F55E

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

Color values

HEX#F5F55E
RGBrgb(245, 245, 94)
HSLhsl(60, 88%, 66%)
HSVhsv(60, 62%, 96%)
CMYKcmyk(0%, 0%, 61.6%, 3.9%)
CIE-LABlab(94.11, -18.12, 70.24)
CIE-LCHlch(94.11, 72.54, 104.47°)
OKLaboklab(94.3% -0.0557 0.1595)
OKLCHoklch(94.3% 0.169 109.2)
XYZxyz(72.3312, 85.5275, 23.2858)
Luminance0.8552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F55E #5E5EF5
analogous
#F5AA5E #F5F55E #AAF55E
triadic
#F5F55E #5EF5F5 #F55EF5
tetradic
#F5F55E #5EF5AA #5E5EF5 #F55EAA
square
#F5F55E #5EF5AA #5E5EF5 #F55EAA
split-complementary
#F5F55E #5EAAF5 #AA5EF5
monochromatic
#CCCC0D #F1F124 #F5F55E #F9F998 #FCFCD1

Accessibility & contrast

On white

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

On black

18.11
#F5F55E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F55E
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F55E#FFFFFF#000000##000000
##F5F55E1.001.1618.1118.11
#FFFFFF1.161.0021.0021.00
#00000018.1121.001.001.00
##00000018.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB4B
Deuteranopia (green-blind)
#FFF067
Tritanopia (blue-blind)
#FFE6D6
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f5f55e;
/* rgb */ color: rgb(245, 245, 94);
/* oklch */ color: oklch(94.3% 0.169 109.2);
Tailwind
colors: {
  custom: {
    50: '#fcf892',
    500: '#f5f55e',
    950: '#000000',
  },
}
SCSS
$custom: #f5f55e;
$custom-light: #fcf892;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f55e",
  "rgb": {
    "r": 245,
    "g": 245,
    "b": 94
  },
  "hsl": {
    "h": 60,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.94297,
    "c": 0.16898,
    "h": 109.2
  },
  "luminance": 0.85525
}

Semantic roles & 50–950 ramp

primary
#F5F55E
secondary
#2F2FC8
accent
#01E501
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F5F55E

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

Preview Lab → · Contrast checker → · Palette generator →

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