#F5F758#F5F758

#F5F758 is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.7% C 0.175 H 110.0°. Best body text is #000000 at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#F5F758
RGBrgb(245, 247, 88)
HSLhsl(61, 91%, 66%)
HSVhsv(61, 64%, 97%)
CMYKcmyk(0.8%, 0%, 64.4%, 3.1%)
CIE-LABlab(94.59, -19.44, 73.08)
CIE-LCHlch(94.59, 75.62, 104.89°)
OKLaboklab(94.66% -0.06 0.1647)
OKLCHoklch(94.66% 0.175 110)
XYZxyz(72.6807, 86.6406, 22.1253)
Luminance0.8664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F758 #5A58F7
analogous
#F7AA58 #F5F758 #A5F758
triadic
#F5F758 #58F5F7 #F758F5
tetradic
#F5F758 #58F7AA #5A58F7 #F758A5
square
#F5F758 #58F7AA #5A58F7 #F758A5
split-complementary
#F5F758 #58A5F7 #AA58F7
monochromatic
#C8CB0A #F2F41E #F5F758 #F8FA92 #FCFDCD

Accessibility & contrast

On white

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

On black

18.33
#F5F758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F758
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F758#FFFFFF#000000##000000
##F5F7581.001.1518.3318.33
#FFFFFF1.151.0021.0021.00
#00000018.3321.001.001.00
##00000018.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED42
Deuteranopia (green-blind)
#FFF263
Tritanopia (blue-blind)
#FFE8D7
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f5f758;
/* rgb */ color: rgb(245, 247, 88);
/* oklch */ color: oklch(94.7% 0.175 110.0);
Tailwind
colors: {
  custom: {
    50: '#fcf98f',
    500: '#f5f758',
    950: '#000000',
  },
}
SCSS
$custom: #f5f758;
$custom-light: #fcf98f;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f758",
  "rgb": {
    "r": 245,
    "g": 247,
    "b": 88
  },
  "hsl": {
    "h": 60.755,
    "s": 90.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.94663,
    "c": 0.17525,
    "h": 110
  },
  "luminance": 0.86639
}

Semantic roles & 50–950 ramp

primary
#F5F758
secondary
#2E2CC7
accent
#00E603
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F5F758

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

Preview Lab → · Contrast checker → · Palette generator →

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