#F5EA59#F5EA59

#F5EA59 is a very light, vivid yellow. Relative luminance 0.790; OKLCH L 92.0% C 0.162 H 105.0°. Best body text is #000000 at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#F5EA59
RGBrgb(245, 234, 89)
HSLhsl(56, 89%, 65%)
HSVhsv(56, 64%, 96%)
CMYKcmyk(0%, 4.5%, 63.7%, 3.9%)
CIE-LABlab(91.23, -13.06, 69.20)
CIE-LCHlch(91.23, 70.42, 100.69°)
OKLaboklab(91.99% -0.0419 0.1566)
OKLCHoklch(91.99% 0.162 105)
XYZxyz(68.8847, 78.9819, 21.0657)
Luminance0.7898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EA59 #5964F5
analogous
#F59C59 #F5EA59 #B2F559
triadic
#F5EA59 #59F5EA #EA59F5
tetradic
#F5EA59 #59F59C #5964F5 #F559B2
square
#F5EA59 #59F59C #5964F5 #F559B2
split-complementary
#F5EA59 #59B2F5 #9C59F5
monochromatic
#C8BA0C #F2E31F #F5EA59 #F8F193 #FCF9CC

Accessibility & contrast

On white

1.25
#F5EA59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.80
#F5EA59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EA59
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EA59#FFFFFF#000000##000000
##F5EA591.001.2516.8016.80
#FFFFFF1.251.0021.0021.00
#00000016.8021.001.001.00
##00000016.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE246
Deuteranopia (green-blind)
#FFE962
Tritanopia (blue-blind)
#FFDBCC
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f5ea59;
/* rgb */ color: rgb(245, 234, 89);
/* oklch */ color: oklch(92.0% 0.162 105.0);
Tailwind
colors: {
  custom: {
    50: '#fcf08e',
    500: '#f5ea59',
    950: '#000000',
  },
}
SCSS
$custom: #f5ea59;
$custom-light: #fcf08e;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ea59",
  "rgb": {
    "r": 245,
    "g": 234,
    "b": 89
  },
  "hsl": {
    "h": 55.769,
    "s": 88.636,
    "l": 65.49
  },
  "oklch": {
    "l": 0.91987,
    "c": 0.16213,
    "h": 105
  },
  "luminance": 0.78979
}

Semantic roles & 50–950 ramp

primary
#F5EA59
secondary
#2E39C4
accent
#10E500
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F5EA59

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

Preview Lab → · Contrast checker → · Palette generator →

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