#FEF372#FEF372

#FEF372 is a very light, vivid yellow. Relative luminance 0.864; OKLCH L 94.8% C 0.150 H 104.4°. Best body text is #000000 at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#FEF372
RGBrgb(254, 243, 114)
HSLhsl(55, 99%, 72%)
HSVhsv(55, 55%, 100%)
CMYKcmyk(0%, 4.3%, 55.1%, 0.4%)
CIE-LABlab(94.48, -12.19, 62.41)
CIE-LCHlch(94.48, 63.59, 101.05°)
OKLaboklab(94.82% -0.0373 0.1452)
OKLCHoklch(94.82% 0.15 104.4)
XYZxyz(75.9633, 86.3894, 28.5897)
Luminance0.8639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF372 #727DFE
analogous
#FEAD72 #FEF372 #C3FE72
triadic
#FEF372 #72FEF3 #F372FE
tetradic
#FEF372 #72FEAD #727DFE #FE72C3
square
#FEF372 #72FEAD #727DFE #FE72C3
split-complementary
#FEF372 #72C3FE #AD72FE
monochromatic
#F4E102 #FEEE35 #FEF372 #FEF8AF #FFFCE1

Accessibility & contrast

On white

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

On black

18.28
#FEF372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF372
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF372#FFFFFF#000000##000000
##FEF3721.001.1518.2818.28
#FFFFFF1.151.0021.0021.00
#00000018.2821.001.001.00
##00000018.2821.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: #fef372;
/* rgb */ color: rgb(254, 243, 114);
/* oklch */ color: oklch(94.8% 0.150 104.4);
Tailwind
colors: {
  custom: {
    50: '#fff69e',
    500: '#fef372',
    950: '#000000',
  },
}
SCSS
$custom: #fef372;
$custom-light: #fff69e;
$custom-dark: #000000;
JSON
{
  "hex": "#fef372",
  "rgb": {
    "r": 254,
    "g": 243,
    "b": 114
  },
  "hsl": {
    "h": 55.286,
    "s": 98.592,
    "l": 72.157
  },
  "oklch": {
    "l": 0.94819,
    "c": 0.14988,
    "h": 104.4
  },
  "luminance": 0.86387
}

Semantic roles & 50–950 ramp

primary
#FEF372
secondary
#3946DB
accent
#12E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF372

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

Preview Lab → · Contrast checker → · Palette generator →

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