#F5F958#F5F958

#F5F958 is a very light, vivid yellow. Relative luminance 0.879; OKLCH L 95.1% C 0.177 H 110.7°. Best body text is #000000 at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#F5F958
RGBrgb(245, 249, 88)
HSLhsl(61, 93%, 66%)
HSVhsv(61, 65%, 98%)
CMYKcmyk(1.6%, 0%, 64.7%, 2.4%)
CIE-LABlab(95.11, -20.40, 73.62)
CIE-LCHlch(95.11, 76.39, 105.48°)
OKLaboklab(95.08% -0.0627 0.1658)
OKLCHoklch(95.08% 0.177 110.7)
XYZxyz(73.2956, 87.8703, 22.3303)
Luminance0.8787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F958 #5C58F9
analogous
#F9AC58 #F5F958 #A4F958
triadic
#F5F958 #58F5F9 #F958F5
tetradic
#F5F958 #58F9AC #5C58F9 #F958A4
square
#F5F958 #58F9AC #5C58F9 #F958A4
split-complementary
#F5F958 #58A4F9 #AC58F9
monochromatic
#CACF07 #F1F71D #F5F958 #F9FB93 #FCFDCE

Accessibility & contrast

On white

1.13
#F5F958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.57
#F5F958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F958
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F958#FFFFFF#000000##000000
##F5F9581.001.1318.5718.57
#FFFFFF1.131.0021.0021.00
#00000018.5721.001.001.00
##00000018.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF41
Deuteranopia (green-blind)
#FFF363
Tritanopia (blue-blind)
#FFEAD8
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f5f958;
/* rgb */ color: rgb(245, 249, 88);
/* oklch */ color: oklch(95.1% 0.177 110.7);
Tailwind
colors: {
  custom: {
    50: '#fcfb8f',
    500: '#f5f958',
    950: '#000000',
  },
}
SCSS
$custom: #f5f958;
$custom-light: #fcfb8f;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f958",
  "rgb": {
    "r": 245,
    "g": 249,
    "b": 88
  },
  "hsl": {
    "h": 61.491,
    "s": 93.064,
    "l": 66.078
  },
  "oklch": {
    "l": 0.95079,
    "c": 0.17725,
    "h": 110.7
  },
  "luminance": 0.87868
}

Semantic roles & 50–950 ramp

primary
#F5F958
secondary
#2F2BCA
accent
#00E606
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F5F958

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

Preview Lab → · Contrast checker → · Palette generator →

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