#F5F58B#F5F58B

#F5F58B is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.8% C 0.129 H 108.6°. Best body text is #000000 at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#F5F58B
RGBrgb(245, 245, 139)
HSLhsl(60, 84%, 75%)
HSVhsv(60, 43%, 96%)
CMYKcmyk(0%, 0%, 43.3%, 3.9%)
CIE-LABlab(94.56, -14.58, 50.83)
CIE-LCHlch(94.56, 52.88, 106.01°)
OKLaboklab(94.8% -0.0412 0.1221)
OKLCHoklch(94.8% 0.129 108.6)
XYZxyz(74.9702, 86.5830, 37.1840)
Luminance0.8658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F58B #8B8BF5
analogous
#F5C08B #F5F58B #C0F58B
triadic
#F5F58B #8BF5F5 #F58BF5
tetradic
#F5F58B #8BF5C0 #8B8BF5 #F58BC0
square
#F5F58B #8BF5C0 #8B8BF5 #F58BC0
split-complementary
#F5F58B #8BC0F5 #C08BF5
monochromatic
#EBEB1A #F0F053 #F5F58B #FAFAC3 #FDFDE3

Accessibility & contrast

On white

1.15
#F5F58B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.32
#F5F58B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F58B
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F58B#FFFFFF#000000##000000
##F5F58B1.001.1518.3218.32
#FFFFFF1.151.0021.0021.00
#00000018.3221.001.001.00
##00000018.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED82
Deuteranopia (green-blind)
#FFF190
Tritanopia (blue-blind)
#FFE9DC
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f5f58b;
/* rgb */ color: rgb(245, 245, 139);
/* oklch */ color: oklch(94.8% 0.129 108.6);
Tailwind
colors: {
  custom: {
    50: '#faf8af',
    500: '#f5f58b',
    950: '#000000',
  },
}
SCSS
$custom: #f5f58b;
$custom-light: #faf8af;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f58b",
  "rgb": {
    "r": 245,
    "g": 245,
    "b": 139
  },
  "hsl": {
    "h": 60,
    "s": 84.127,
    "l": 75.294
  },
  "oklch": {
    "l": 0.94803,
    "c": 0.12889,
    "h": 108.6
  },
  "luminance": 0.86581
}

Semantic roles & 50–950 ramp

primary
#F5F58B
secondary
#5252D2
accent
#05E105
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F5F58B

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

Preview Lab → · Contrast checker → · Palette generator →

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