#FFFF58#FFFF58

#FFFF58 is a very light, vivid yellow. Relative luminance 0.935; OKLCH L 97.1% C 0.181 H 109.3°. Best body text is #000000 at 19.70:1 contrast (WCAG AA passes).

Color values

HEX#FFFF58
RGBrgb(255, 255, 88)
HSLhsl(60, 100%, 67%)
HSVhsv(60, 65%, 100%)
CMYKcmyk(0%, 0%, 65.5%, 0%)
CIE-LABlab(97.42, -19.26, 76.23)
CIE-LCHlch(97.42, 78.63, 104.18°)
OKLaboklab(97.12% -0.0601 0.171)
OKLCHoklch(97.12% 0.181 109.3)
XYZxyz(78.7641, 93.4868, 23.1264)
Luminance0.9348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFF58 #5858FF
analogous
#FFAC58 #FFFF58 #ACFF58
triadic
#FFFF58 #58FFFF #FF58FF
tetradic
#FFFF58 #58FFAC #5858FF #FF58AC
square
#FFFF58 #58FFAC #5858FF #FF58AC
split-complementary
#FFFF58 #58ACFF #AC58FF
monochromatic
#DDDD00 #FFFF1B #FFFF58 #FFFF95 #FFFFD2

Accessibility & contrast

On white

1.07
#FFFF58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.70
#FFFF58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFF58
19.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFF58#FFFFFF#000000##000000
##FFFF581.001.0719.7019.70
#FFFFFF1.071.0021.0021.00
#00000019.7021.001.001.00
##00000019.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF540
Deuteranopia (green-blind)
#FFFA63
Tritanopia (blue-blind)
#FFEFDD
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #ffff58;
/* rgb */ color: rgb(255, 255, 88);
/* oklch */ color: oklch(97.1% 0.181 109.3);
Tailwind
colors: {
  custom: {
    50: '#ffff90',
    500: '#ffff58',
    950: '#000000',
  },
}
SCSS
$custom: #ffff58;
$custom-light: #ffff90;
$custom-dark: #000000;
JSON
{
  "hex": "#ffff58",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 88
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 67.255
  },
  "oklch": {
    "l": 0.97117,
    "c": 0.18127,
    "h": 109.3
  },
  "luminance": 0.93485
}

Semantic roles & 50–950 ramp

primary
#FFFF58
secondary
#2626D6
accent
#00E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFFF58

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

Preview Lab → · Contrast checker → · Palette generator →

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