#FFF652#FFF652

#FFF652 is a very light, vivid yellow. Relative luminance 0.878; OKLCH L 95.2% C 0.177 H 106.2°. Best body text is #000000 at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#FFF652
RGBrgb(255, 246, 82)
HSLhsl(57, 100%, 66%)
HSVhsv(57, 68%, 100%)
CMYKcmyk(0%, 3.5%, 67.8%, 0%)
CIE-LABlab(95.07, -15.23, 76.06)
CIE-LCHlch(95.07, 77.57, 101.32°)
OKLaboklab(95.23% -0.0493 0.1697)
OKLCHoklch(95.23% 0.177 106.2)
XYZxyz(75.7217, 87.7834, 20.9362)
Luminance0.8778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF652 #525BFF
analogous
#FF9F52 #FFF652 #B1FF52
triadic
#FFF652 #52FFF6 #F652FF
tetradic
#FFF652 #52FF9F #525BFF #FF52B1
square
#FFF652 #52FF9F #525BFF #FF52B1
split-complementary
#FFF652 #52B1FF #9F52FF
monochromatic
#D7CB00 #FFF315 #FFF652 #FFF98F #FFFCCC

Accessibility & contrast

On white

1.13
#FFF652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.56
#FFF652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF652
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF652#FFFFFF#000000##000000
##FFF6521.001.1318.5618.56
#FFFFFF1.131.0021.0021.00
#00000018.5621.001.001.00
##00000018.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED39
Deuteranopia (green-blind)
#FFF45D
Tritanopia (blue-blind)
#FFE6D5
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fff652;
/* rgb */ color: rgb(255, 246, 82);
/* oklch */ color: oklch(95.2% 0.177 106.2);
Tailwind
colors: {
  custom: {
    50: '#fff88c',
    500: '#fff652',
    950: '#000000',
  },
}
SCSS
$custom: #fff652;
$custom-light: #fff88c;
$custom-dark: #000000;
JSON
{
  "hex": "#fff652",
  "rgb": {
    "r": 255,
    "g": 246,
    "b": 82
  },
  "hsl": {
    "h": 56.879,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.95226,
    "c": 0.17675,
    "h": 106.2
  },
  "luminance": 0.87781
}

Semantic roles & 50–950 ramp

primary
#FFF652
secondary
#252ED0
accent
#0CE600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFF652

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

Preview Lab → · Contrast checker → · Palette generator →

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