#F7FF5C#F7FF5C

#F7FF5C is a very light, vivid yellow. Relative luminance 0.921; OKLCH L 96.5% C 0.180 H 112.0°. Best body text is #000000 at 19.41:1 contrast (WCAG AA passes).

Color values

HEX#F7FF5C
RGBrgb(247, 255, 92)
HSLhsl(63, 100%, 68%)
HSVhsv(63, 64%, 100%)
CMYKcmyk(3.1%, 0%, 63.9%, 0%)
CIE-LABlab(96.85, -22.23, 73.94)
CIE-LCHlch(96.85, 77.21, 106.73°)
OKLaboklab(96.52% -0.0676 0.167)
OKLCHoklch(96.52% 0.18 112)
XYZxyz(76.0517, 92.0686, 23.8879)
Luminance0.9207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7FF5C #645CFF
analogous
#FFB65C #F7FF5C #A5FF5C
triadic
#F7FF5C #5CF7FF #FF5CF7
tetradic
#F7FF5C #5CFFB6 #645CFF #FF5CA5
square
#F7FF5C #5CFFB6 #645CFF #FF5CA5
split-complementary
#F7FF5C #5CA5FF #B65CFF
monochromatic
#D6E100 #F4FF1F #F7FF5C #FAFF99 #FDFFD6

Accessibility & contrast

On white

1.08
#F7FF5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.41
#F7FF5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7FF5C
19.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7FF5C#FFFFFF#000000##000000
##F7FF5C1.001.0819.4119.41
#FFFFFF1.081.0021.0021.00
#00000019.4121.001.001.00
##00000019.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF446
Deuteranopia (green-blind)
#FFF867
Tritanopia (blue-blind)
#FFF0DE
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f7ff5c;
/* rgb */ color: rgb(247, 255, 92);
/* oklch */ color: oklch(96.5% 0.180 112.0);
Tailwind
colors: {
  custom: {
    50: '#fdff92',
    500: '#f7ff5c',
    950: '#000000',
  },
}
SCSS
$custom: #f7ff5c;
$custom-light: #fdff92;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ff5c",
  "rgb": {
    "r": 247,
    "g": 255,
    "b": 92
  },
  "hsl": {
    "h": 62.945,
    "s": 100,
    "l": 68.039
  },
  "oklch": {
    "l": 0.96517,
    "c": 0.18016,
    "h": 112
  },
  "luminance": 0.92067
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F7FF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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