#FFF952#FFF952

#FFF952 is a very light, vivid yellow. Relative luminance 0.896; OKLCH L 95.8% C 0.179 H 107.3°. Best body text is #000000 at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#FFF952
RGBrgb(255, 249, 82)
HSLhsl(58, 100%, 66%)
HSVhsv(58, 68%, 100%)
CMYKcmyk(0%, 2.4%, 67.8%, 0%)
CIE-LABlab(95.84, -16.69, 76.83)
CIE-LCHlch(95.84, 78.62, 102.25°)
OKLaboklab(95.84% -0.0534 0.1714)
OKLCHoklch(95.84% 0.179 107.3)
XYZxyz(76.6415, 89.6231, 21.2428)
Luminance0.8962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF952 #5258FF
analogous
#FFA252 #FFF952 #AEFF52
triadic
#FFF952 #52FFF9 #F952FF
tetradic
#FFF952 #52FFA2 #5258FF #FF52AE
square
#FFF952 #52FFA2 #5258FF #FF52AE
split-complementary
#FFF952 #52AEFF #A252FF
monochromatic
#D7CF00 #FFF715 #FFF952 #FFFB8F #FFFDCC

Accessibility & contrast

On white

1.11
#FFF952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.92
#FFF952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF952
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF952#FFFFFF#000000##000000
##FFF9521.001.1118.9218.92
#FFFFFF1.111.0021.0021.00
#00000018.9221.001.001.00
##00000018.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF038
Deuteranopia (green-blind)
#FFF65D
Tritanopia (blue-blind)
#FFE9D8
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fff952;
/* rgb */ color: rgb(255, 249, 82);
/* oklch */ color: oklch(95.8% 0.179 107.3);
Tailwind
colors: {
  custom: {
    50: '#fffb8c',
    500: '#fff952',
    950: '#000000',
  },
}
SCSS
$custom: #fff952;
$custom-light: #fffb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#fff952",
  "rgb": {
    "r": 255,
    "g": 249,
    "b": 82
  },
  "hsl": {
    "h": 57.919,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.9584,
    "c": 0.17948,
    "h": 107.3
  },
  "luminance": 0.89621
}

Semantic roles & 50–950 ramp

primary
#FFF952
secondary
#252BD0
accent
#08E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFF952

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

Preview Lab → · Contrast checker → · Palette generator →

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