#F5DF58#F5DF58

#F5DF58 is a very light, vivid yellow. Relative luminance 0.729; OKLCH L 89.7% C 0.153 H 100.0°. Best body text is #000000 at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#F5DF58
RGBrgb(245, 223, 88)
HSLhsl(52, 89%, 65%)
HSVhsv(52, 64%, 96%)
CMYKcmyk(0%, 9%, 64.1%, 3.9%)
CIE-LABlab(88.40, -7.66, 66.62)
CIE-LCHlch(88.40, 67.06, 96.56°)
OKLaboklab(89.74% -0.0266 0.151)
OKLCHoklch(89.74% 0.153 100)
XYZxyz(65.8081, 72.8953, 19.8344)
Luminance0.7289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DF58 #586EF5
analogous
#F59058 #F5DF58 #BDF558
triadic
#F5DF58 #58F5DF #DF58F5
tetradic
#F5DF58 #58F590 #586EF5 #F558BD
square
#F5DF58 #58F590 #586EF5 #F558BD
split-complementary
#F5DF58 #58BDF5 #9058F5
monochromatic
#C7AD0C #F2D41E #F5DF58 #F8EA92 #FCF5CB

Accessibility & contrast

On white

1.35
#F5DF58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.58
#F5DF58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DF58
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DF58#FFFFFF#000000##000000
##F5DF581.001.3515.5815.58
#FFFFFF1.351.0021.0021.00
#00000015.5821.001.001.00
##00000015.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D947
Deuteranopia (green-blind)
#F9E15F
Tritanopia (blue-blind)
#FFD0C3
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f5df58;
/* rgb */ color: rgb(245, 223, 88);
/* oklch */ color: oklch(89.7% 0.153 100.0);
Tailwind
colors: {
  custom: {
    50: '#fce88d',
    500: '#f5df58',
    950: '#000000',
  },
}
SCSS
$custom: #f5df58;
$custom-light: #fce88d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5df58",
  "rgb": {
    "r": 245,
    "g": 223,
    "b": 88
  },
  "hsl": {
    "h": 51.592,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.89738,
    "c": 0.15335,
    "h": 100
  },
  "luminance": 0.72892
}

Semantic roles & 50–950 ramp

primary
#F5DF58
secondary
#2E43C3
accent
#20E500
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F5DF58

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

Preview Lab → · Contrast checker → · Palette generator →

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