#F5F45F#F5F45F

#F5F45F is a very light, vivid yellow. Relative luminance 0.849; OKLCH L 94.1% C 0.167 H 108.9°. Best body text is #000000 at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#F5F45F
RGBrgb(245, 244, 95)
HSLhsl(60, 88%, 67%)
HSVhsv(60, 61%, 96%)
CMYKcmyk(0%, 0.4%, 61.2%, 3.9%)
CIE-LABlab(93.86, -17.58, 69.57)
CIE-LCHlch(93.86, 71.76, 104.18°)
OKLaboklab(94.1% -0.0541 0.1583)
OKLCHoklch(94.1% 0.167 108.9)
XYZxyz(72.0747, 84.9421, 23.4231)
Luminance0.8494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F45F #5F60F5
analogous
#F5A95F #F5F45F #ABF55F
triadic
#F5F45F #5FF5F4 #F45FF5
tetradic
#F5F45F #5FF5A9 #5F60F5 #F55FAB
square
#F5F45F #5FF5A9 #5F60F5 #F55FAB
split-complementary
#F5F45F #5FABF5 #A95FF5
monochromatic
#CDCC0D #F1F025 #F5F45F #F9F899 #FCFCD2

Accessibility & contrast

On white

1.17
#F5F45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.99
#F5F45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F45F
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F45F#FFFFFF#000000##000000
##F5F45F1.001.1717.9917.99
#FFFFFF1.171.0021.0021.00
#00000017.9921.001.001.00
##00000017.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB4D
Deuteranopia (green-blind)
#FFF068
Tritanopia (blue-blind)
#FFE5D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f5f45f;
/* rgb */ color: rgb(245, 244, 95);
/* oklch */ color: oklch(94.1% 0.167 108.9);
Tailwind
colors: {
  custom: {
    50: '#fcf793',
    500: '#f5f45f',
    950: '#000000',
  },
}
SCSS
$custom: #f5f45f;
$custom-light: #fcf793;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f45f",
  "rgb": {
    "r": 245,
    "g": 244,
    "b": 95
  },
  "hsl": {
    "h": 59.6,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.94099,
    "c": 0.16724,
    "h": 108.9
  },
  "luminance": 0.8494
}

Semantic roles & 50–950 ramp

primary
#F5F45F
secondary
#2F30C9
accent
#02E501
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F5F45F

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

Preview Lab → · Contrast checker → · Palette generator →

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