#F5E358#F5E358

#F5E358 is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.5% C 0.157 H 101.9°. Best body text is #000000 at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#F5E358
RGBrgb(245, 227, 88)
HSLhsl(53, 89%, 65%)
HSVhsv(53, 64%, 96%)
CMYKcmyk(0%, 7.3%, 64.1%, 3.9%)
CIE-LABlab(89.42, -9.65, 67.70)
CIE-LCHlch(89.42, 68.39, 98.12°)
OKLaboklab(90.55% -0.0323 0.1533)
OKLCHoklch(90.55% 0.157 101.9)
XYZxyz(66.8894, 75.0580, 20.1949)
Luminance0.7506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E358 #586AF5
analogous
#F59458 #F5E358 #B8F558
triadic
#F5E358 #58F5E3 #E358F5
tetradic
#F5E358 #58F594 #586AF5 #F558B8
square
#F5E358 #58F594 #586AF5 #F558B8
split-complementary
#F5E358 #58B8F5 #9458F5
monochromatic
#C7B10C #F2D91E #F5E358 #F8ED92 #FCF6CB

Accessibility & contrast

On white

1.31
#F5E358 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.01
#F5E358 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E358
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E358#FFFFFF#000000##000000
##F5E3581.001.3116.0116.01
#FFFFFF1.311.0021.0021.00
#00000016.0121.001.001.00
##00000016.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC47
Deuteranopia (green-blind)
#FCE460
Tritanopia (blue-blind)
#FFD4C6
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f5e358;
/* rgb */ color: rgb(245, 227, 88);
/* oklch */ color: oklch(90.5% 0.157 101.9);
Tailwind
colors: {
  custom: {
    50: '#fceb8d',
    500: '#f5e358',
    950: '#000000',
  },
}
SCSS
$custom: #f5e358;
$custom-light: #fceb8d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e358",
  "rgb": {
    "r": 245,
    "g": 227,
    "b": 88
  },
  "hsl": {
    "h": 53.121,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.90549,
    "c": 0.15667,
    "h": 101.9
  },
  "luminance": 0.75055
}

Semantic roles & 50–950 ramp

primary
#F5E358
secondary
#2E3FC3
accent
#1AE500
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F5E358

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

Preview Lab → · Contrast checker → · Palette generator →

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