#FFF152#FFF152

#FFF152 is a very light, vivid yellow. Relative luminance 0.848; OKLCH L 94.2% C 0.172 H 104.3°. Best body text is #000000 at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#FFF152
RGBrgb(255, 241, 82)
HSLhsl(55, 100%, 66%)
HSVhsv(55, 68%, 100%)
CMYKcmyk(0%, 5.5%, 67.8%, 0%)
CIE-LABlab(93.79, -12.80, 74.78)
CIE-LCHlch(93.79, 75.87, 99.71°)
OKLaboklab(94.21% -0.0424 0.167)
OKLCHoklch(94.21% 0.172 104.3)
XYZxyz(74.2213, 84.7827, 20.4361)
Luminance0.8478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF152 #5260FF
analogous
#FF9B52 #FFF152 #B6FF52
triadic
#FFF152 #52FFF1 #F152FF
tetradic
#FFF152 #52FF9B #5260FF #FF52B6
square
#FFF152 #52FF9B #5260FF #FF52B6
split-complementary
#FFF152 #52B6FF #9B52FF
monochromatic
#D7C500 #FFEC15 #FFF152 #FFF68F #FFFBCC

Accessibility & contrast

On white

1.17
#FFF152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.96
#FFF152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF152
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF152#FFFFFF#000000##000000
##FFF1521.001.1717.9617.96
#FFFFFF1.171.0021.0021.00
#00000017.9621.001.001.00
##00000017.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE93A
Deuteranopia (green-blind)
#FFF15C
Tritanopia (blue-blind)
#FFE1D1
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fff152;
/* rgb */ color: rgb(255, 241, 82);
/* oklch */ color: oklch(94.2% 0.172 104.3);
Tailwind
colors: {
  custom: {
    50: '#fff58b',
    500: '#fff152',
    950: '#000000',
  },
}
SCSS
$custom: #fff152;
$custom-light: #fff58b;
$custom-dark: #000000;
JSON
{
  "hex": "#fff152",
  "rgb": {
    "r": 255,
    "g": 241,
    "b": 82
  },
  "hsl": {
    "h": 55.145,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.94207,
    "c": 0.17233,
    "h": 104.3
  },
  "luminance": 0.8478
}

Semantic roles & 50–950 ramp

primary
#FFF152
secondary
#2533D0
accent
#13E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFF152

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

Preview Lab → · Contrast checker → · Palette generator →

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