#FFF372#FFF372

#FFF372 is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.9% C 0.150 H 104.0°. Best body text is #000000 at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#FFF372
RGBrgb(255, 243, 114)
HSLhsl(55, 100%, 72%)
HSVhsv(55, 55%, 100%)
CMYKcmyk(0%, 4.7%, 55.3%, 0%)
CIE-LABlab(94.56, -11.79, 62.52)
CIE-LCHlch(94.56, 63.63, 100.68°)
OKLaboklab(94.9% -0.0362 0.1454)
OKLCHoklch(94.9% 0.15 104)
XYZxyz(76.3303, 86.5787, 28.6069)
Luminance0.8658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF372 #727EFF
analogous
#FFAD72 #FFF372 #C4FF72
triadic
#FFF372 #72FFF3 #F372FF
tetradic
#FFF372 #72FFAD #727EFF #FF72C4
square
#FFF372 #72FFAD #727EFF #FF72C4
split-complementary
#FFF372 #72C4FF #AD72FF
monochromatic
#F7E200 #FFEE35 #FFF372 #FFF8AF #FFFCE0

Accessibility & contrast

On white

1.15
#FFF372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.32
#FFF372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF372
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF372#FFFFFF#000000##000000
##FFF3721.001.1518.3218.32
#FFFFFF1.151.0021.0021.00
#00000018.3221.001.001.00
##00000018.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC65
Deuteranopia (green-blind)
#FFF279
Tritanopia (blue-blind)
#FFE5D6
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fff372;
/* rgb */ color: rgb(255, 243, 114);
/* oklch */ color: oklch(94.9% 0.150 104.0);
Tailwind
colors: {
  custom: {
    50: '#fff69e',
    500: '#fff372',
    950: '#000000',
  },
}
SCSS
$custom: #fff372;
$custom-light: #fff69e;
$custom-dark: #000000;
JSON
{
  "hex": "#fff372",
  "rgb": {
    "r": 255,
    "g": 243,
    "b": 114
  },
  "hsl": {
    "h": 54.894,
    "s": 100,
    "l": 72.353
  },
  "oklch": {
    "l": 0.94903,
    "c": 0.14983,
    "h": 104
  },
  "luminance": 0.86576
}

Semantic roles & 50–950 ramp

primary
#FFF372
secondary
#3947DC
accent
#14E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FFF372

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

Preview Lab → · Contrast checker → · Palette generator →

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