#F5FF52#F5FF52

#F5FF52 is a very light, vivid yellow. Relative luminance 0.915; OKLCH L 96.3% C 0.187 H 112.7°. Best body text is #000000 at 19.31:1 contrast (WCAG AA passes).

Color values

HEX#F5FF52
RGBrgb(245, 255, 82)
HSLhsl(63, 100%, 66%)
HSVhsv(63, 68%, 100%)
CMYKcmyk(3.9%, 0%, 67.8%, 0%)
CIE-LABlab(96.63, -23.57, 77.37)
CIE-LCHlch(96.63, 80.88, 106.94°)
OKLaboklab(96.29% -0.0722 0.1728)
OKLCHoklch(96.29% 0.187 112.7)
XYZxyz(74.9414, 91.5433, 21.7029)
Luminance0.9154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FF52 #5C52FF
analogous
#FFB252 #F5FF52 #9EFF52
triadic
#F5FF52 #52F5FF #FF52F5
tetradic
#F5FF52 #52FFB2 #5C52FF #FF529E
square
#F5FF52 #52FFB2 #5C52FF #FF529E
split-complementary
#F5FF52 #529EFF #B252FF
monochromatic
#CAD700 #F1FF15 #F5FF52 #F9FF8F #FCFFCC

Accessibility & contrast

On white

1.09
#F5FF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.31
#F5FF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5FF52
19.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5FF52#FFFFFF#000000##000000
##F5FF521.001.0919.3119.31
#FFFFFF1.091.0021.0021.00
#00000019.3121.001.001.00
##00000019.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF336
Deuteranopia (green-blind)
#FFF75F
Tritanopia (blue-blind)
#FFF0DD
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f5ff52;
/* rgb */ color: rgb(245, 255, 82);
/* oklch */ color: oklch(96.3% 0.187 112.7);
Tailwind
colors: {
  custom: {
    50: '#fcff8c',
    500: '#f5ff52',
    950: '#000000',
  },
}
SCSS
$custom: #f5ff52;
$custom-light: #fcff8c;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ff52",
  "rgb": {
    "r": 245,
    "g": 255,
    "b": 82
  },
  "hsl": {
    "h": 63.468,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.96288,
    "c": 0.18724,
    "h": 112.7
  },
  "luminance": 0.91542
}

Semantic roles & 50–950 ramp

primary
#F5FF52
secondary
#2F25D0
accent
#00E60D
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F5FF52

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

Preview Lab → · Contrast checker → · Palette generator →

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