#FEF373#FEF373

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

Color values

HEX#FEF373
RGBrgb(254, 243, 115)
HSLhsl(55, 99%, 72%)
HSVhsv(55, 55%, 100%)
CMYKcmyk(0%, 4.3%, 54.7%, 0.4%)
CIE-LABlab(94.49, -12.12, 61.98)
CIE-LCHlch(94.49, 63.15, 101.06°)
OKLaboklab(94.83% -0.037 0.1444)
OKLCHoklch(94.83% 0.149 104.4)
XYZxyz(76.0205, 86.4123, 28.8911)
Luminance0.8641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF373 #737EFE
analogous
#FEAE73 #FEF373 #C3FE73
triadic
#FEF373 #73FEF3 #F373FE
tetradic
#FEF373 #73FEAE #737EFE #FE73C3
square
#FEF373 #73FEAE #737EFE #FE73C3
split-complementary
#FEF373 #73C3FE #AE73FE
monochromatic
#F5E202 #FEEE36 #FEF373 #FEF8B0 #FFFCE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FEF373#FFFFFF#000000##000000
##FEF3731.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)
#FFEC66
Deuteranopia (green-blind)
#FFF279
Tritanopia (blue-blind)
#FFE5D7
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fef373;
/* rgb */ color: rgb(254, 243, 115);
/* oklch */ color: oklch(94.8% 0.149 104.4);
Tailwind
colors: {
  custom: {
    50: '#fff69f',
    500: '#fef373',
    950: '#000000',
  },
}
SCSS
$custom: #fef373;
$custom-light: #fff69f;
$custom-dark: #000000;
JSON
{
  "hex": "#fef373",
  "rgb": {
    "r": 254,
    "g": 243,
    "b": 115
  },
  "hsl": {
    "h": 55.252,
    "s": 98.582,
    "l": 72.353
  },
  "oklch": {
    "l": 0.9483,
    "c": 0.14901,
    "h": 104.4
  },
  "luminance": 0.8641
}

Semantic roles & 50–950 ramp

primary
#FEF373
secondary
#3A47DB
accent
#12E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF373

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

Preview Lab → · Contrast checker → · Palette generator →

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