#F5E458#F5E458

#F5E458 is a very light, vivid yellow. Relative luminance 0.756; OKLCH L 90.8% C 0.158 H 102.4°. Best body text is #000000 at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#F5E458
RGBrgb(245, 228, 88)
HSLhsl(54, 89%, 65%)
HSVhsv(54, 64%, 96%)
CMYKcmyk(0%, 6.9%, 64.1%, 3.9%)
CIE-LABlab(89.68, -10.15, 67.97)
CIE-LCHlch(89.68, 68.73, 98.49°)
OKLaboklab(90.75% -0.0337 0.1539)
OKLCHoklch(90.75% 0.158 102.4)
XYZxyz(67.1637, 75.6066, 20.2863)
Luminance0.7560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E458 #5869F5
analogous
#F59558 #F5E458 #B8F558
triadic
#F5E458 #58F5E4 #E458F5
tetradic
#F5E458 #58F595 #5869F5 #F558B8
square
#F5E458 #58F595 #5869F5 #F558B8
split-complementary
#F5E458 #58B8F5 #9558F5
monochromatic
#C7B20C #F2DB1E #F5E458 #F8ED92 #FCF7CB

Accessibility & contrast

On white

1.30
#F5E458 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.12
#F5E458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E458
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E458#FFFFFF#000000##000000
##F5E4581.001.3016.1216.12
#FFFFFF1.301.0021.0021.00
#00000016.1221.001.001.00
##00000016.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DD46
Deuteranopia (green-blind)
#FDE560
Tritanopia (blue-blind)
#FFD5C7
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f5e458;
/* rgb */ color: rgb(245, 228, 88);
/* oklch */ color: oklch(90.8% 0.158 102.4);
Tailwind
colors: {
  custom: {
    50: '#fcec8d',
    500: '#f5e458',
    950: '#000000',
  },
}
SCSS
$custom: #f5e458;
$custom-light: #fcec8d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e458",
  "rgb": {
    "r": 245,
    "g": 228,
    "b": 88
  },
  "hsl": {
    "h": 53.503,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.90753,
    "c": 0.15753,
    "h": 102.4
  },
  "luminance": 0.75604
}

Semantic roles & 50–950 ramp

primary
#F5E458
secondary
#2E3EC3
accent
#19E500
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F5E458

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

Preview Lab → · Contrast checker → · Palette generator →

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