#F5F58C#F5F58C

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

Color values

HEX#F5F58C
RGBrgb(245, 245, 140)
HSLhsl(60, 84%, 75%)
HSVhsv(60, 43%, 96%)
CMYKcmyk(0%, 0%, 42.9%, 3.9%)
CIE-LABlab(94.57, -14.48, 50.37)
CIE-LCHlch(94.57, 52.41, 106.04°)
OKLaboklab(94.82% -0.0408 0.1212)
OKLCHoklch(94.82% 0.128 108.6)
XYZxyz(75.0435, 86.6124, 37.5706)
Luminance0.8661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F58C #8C8CF5
analogous
#F5C08C #F5F58C #C0F58C
triadic
#F5F58C #8CF5F5 #F58CF5
tetradic
#F5F58C #8CF5C0 #8C8CF5 #F58CC0
square
#F5F58C #8CF5C0 #8C8CF5 #F58CC0
split-complementary
#F5F58C #8CC0F5 #C08CF5
monochromatic
#EBEB1B #F0F054 #F5F58C #FAFAC4 #FDFDE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5F58C#FFFFFF#000000##000000
##F5F58C1.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)
#FFED83
Deuteranopia (green-blind)
#FFF191
Tritanopia (blue-blind)
#FFE9DC
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f5f58c;
/* rgb */ color: rgb(245, 245, 140);
/* oklch */ color: oklch(94.8% 0.128 108.6);
Tailwind
colors: {
  custom: {
    50: '#faf8af',
    500: '#f5f58c',
    950: '#000000',
  },
}
SCSS
$custom: #f5f58c;
$custom-light: #faf8af;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f58c",
  "rgb": {
    "r": 245,
    "g": 245,
    "b": 140
  },
  "hsl": {
    "h": 60,
    "s": 84,
    "l": 75.49
  },
  "oklch": {
    "l": 0.94817,
    "c": 0.12785,
    "h": 108.6
  },
  "luminance": 0.86611
}

Semantic roles & 50–950 ramp

primary
#F5F58C
secondary
#5353D2
accent
#05E005
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F5F58C

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

Preview Lab → · Contrast checker → · Palette generator →

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