#F5E258#F5E258

#F5E258 is a very light, vivid yellow. Relative luminance 0.745; OKLCH L 90.3% C 0.156 H 101.4°. Best body text is #000000 at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#F5E258
RGBrgb(245, 226, 88)
HSLhsl(53, 89%, 65%)
HSVhsv(53, 64%, 96%)
CMYKcmyk(0%, 7.8%, 64.1%, 3.9%)
CIE-LABlab(89.16, -9.16, 67.43)
CIE-LCHlch(89.16, 68.05, 97.73°)
OKLaboklab(90.35% -0.0309 0.1527)
OKLCHoklch(90.35% 0.156 101.4)
XYZxyz(66.6167, 74.5125, 20.1040)
Luminance0.7451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E258 #586BF5
analogous
#F59358 #F5E258 #B9F558
triadic
#F5E258 #58F5E2 #E258F5
tetradic
#F5E258 #58F593 #586BF5 #F558B9
square
#F5E258 #58F593 #586BF5 #F558B9
split-complementary
#F5E258 #58B9F5 #9358F5
monochromatic
#C7B00C #F2D81E #F5E258 #F8EC92 #FCF6CB

Accessibility & contrast

On white

1.32
#F5E258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.90
#F5E258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E258
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E258#FFFFFF#000000##000000
##F5E2581.001.3215.9015.90
#FFFFFF1.321.0021.0021.00
#00000015.9021.001.001.00
##00000015.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC47
Deuteranopia (green-blind)
#FBE360
Tritanopia (blue-blind)
#FFD3C5
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f5e258;
/* rgb */ color: rgb(245, 226, 88);
/* oklch */ color: oklch(90.3% 0.156 101.4);
Tailwind
colors: {
  custom: {
    50: '#fcea8d',
    500: '#f5e258',
    950: '#000000',
  },
}
SCSS
$custom: #f5e258;
$custom-light: #fcea8d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e258",
  "rgb": {
    "r": 245,
    "g": 226,
    "b": 88
  },
  "hsl": {
    "h": 52.739,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.90346,
    "c": 0.15583,
    "h": 101.4
  },
  "luminance": 0.7451
}

Semantic roles & 50–950 ramp

primary
#F5E258
secondary
#2E40C3
accent
#1CE500
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F5E258

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

Preview Lab → · Contrast checker → · Palette generator →

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