#F5FD52#F5FD52

#F5FD52 is a very light, vivid yellow. Relative luminance 0.903; OKLCH L 95.9% C 0.185 H 112.0°. Best body text is #000000 at 19.05:1 contrast (WCAG AA passes).

Color values

HEX#F5FD52
RGBrgb(245, 253, 82)
HSLhsl(63, 98%, 66%)
HSVhsv(63, 68%, 99%)
CMYKcmyk(3.2%, 0%, 67.6%, 0.8%)
CIE-LABlab(96.11, -22.62, 76.85)
CIE-LCHlch(96.11, 80.11, 106.41°)
OKLaboklab(95.87% -0.0695 0.1717)
OKLCHoklch(95.87% 0.185 112)
XYZxyz(74.3067, 90.2740, 21.4913)
Luminance0.9027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FD52 #5A52FD
analogous
#FDAF52 #F5FD52 #9FFD52
triadic
#F5FD52 #52F5FD #FD52F5
tetradic
#F5FD52 #52FDAF #5A52FD #FD529F
square
#F5FD52 #52FDAF #5A52FD #FD529F
split-complementary
#F5FD52 #529FFD #AF52FD
monochromatic
#C8D202 #F2FC15 #F5FD52 #F8FE8E #FCFECB

Accessibility & contrast

On white

1.10
#F5FD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.05
#F5FD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5FD52
19.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5FD52#FFFFFF#000000##000000
##F5FD521.001.1019.0519.05
#FFFFFF1.101.0021.0021.00
#00000019.0521.001.001.00
##00000019.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF237
Deuteranopia (green-blind)
#FFF65E
Tritanopia (blue-blind)
#FFEEDB
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f5fd52;
/* rgb */ color: rgb(245, 253, 82);
/* oklch */ color: oklch(95.9% 0.185 112.0);
Tailwind
colors: {
  custom: {
    50: '#fcfd8c',
    500: '#f5fd52',
    950: '#000000',
  },
}
SCSS
$custom: #f5fd52;
$custom-light: #fcfd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#f5fd52",
  "rgb": {
    "r": 245,
    "g": 253,
    "b": 82
  },
  "hsl": {
    "h": 62.807,
    "s": 97.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.95869,
    "c": 0.18521,
    "h": 112
  },
  "luminance": 0.90272
}

Semantic roles & 50–950 ramp

primary
#F5FD52
secondary
#2E26CD
accent
#00E60B
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F5FD52

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

Preview Lab → · Contrast checker → · Palette generator →

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