#F5F458#F5F458

#F5F458 is a very light, vivid yellow. Relative luminance 0.848; OKLCH L 94.0% C 0.172 H 108.9°. Best body text is #000000 at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#F5F458
RGBrgb(245, 244, 88)
HSLhsl(60, 89%, 65%)
HSVhsv(60, 64%, 96%)
CMYKcmyk(0%, 0.4%, 64.1%, 3.9%)
CIE-LABlab(93.81, -17.99, 72.28)
CIE-LCHlch(93.81, 74.48, 103.98°)
OKLaboklab(94.04% -0.0559 0.163)
OKLCHoklch(94.04% 0.172 108.9)
XYZxyz(71.7707, 84.8205, 21.8220)
Luminance0.8482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F458 #5859F5
analogous
#F5A658 #F5F458 #A7F558
triadic
#F5F458 #58F5F4 #F458F5
tetradic
#F5F458 #58F5A6 #5859F5 #F558A7
square
#F5F458 #58F5A6 #5859F5 #F558A7
split-complementary
#F5F458 #58A7F5 #A658F5
monochromatic
#C7C60C #F2F01E #F5F458 #F8F892 #FCFCCB

Accessibility & contrast

On white

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

On black

17.96
#F5F458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F458
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F458#FFFFFF#000000##000000
##F5F4581.001.1717.9617.96
#FFFFFF1.171.0021.0021.00
#00000017.9621.001.001.00
##00000017.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA43
Deuteranopia (green-blind)
#FFF062
Tritanopia (blue-blind)
#FFE5D4
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f5f458;
/* rgb */ color: rgb(245, 244, 88);
/* oklch */ color: oklch(94.0% 0.172 108.9);
Tailwind
colors: {
  custom: {
    50: '#fcf78f',
    500: '#f5f458',
    950: '#000000',
  },
}
SCSS
$custom: #f5f458;
$custom-light: #fcf78f;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f458",
  "rgb": {
    "r": 245,
    "g": 244,
    "b": 88
  },
  "hsl": {
    "h": 59.618,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.9404,
    "c": 0.1723,
    "h": 108.9
  },
  "luminance": 0.84818
}

Semantic roles & 50–950 ramp

primary
#F5F458
secondary
#2E2FC3
accent
#02E500
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F5F458

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

Preview Lab → · Contrast checker → · Palette generator →

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