#FEF673#FEF673

#FEF673 is a very light, vivid yellow. Relative luminance 0.882; OKLCH L 95.4% C 0.152 H 105.7°. Best body text is #000000 at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#FEF673
RGBrgb(254, 246, 115)
HSLhsl(57, 99%, 72%)
HSVhsv(57, 55%, 100%)
CMYKcmyk(0%, 3.1%, 54.7%, 0.4%)
CIE-LABlab(95.25, -13.59, 62.85)
CIE-LCHlch(95.25, 64.31, 102.20°)
OKLaboklab(95.44% -0.0412 0.1462)
OKLCHoklch(95.44% 0.152 105.7)
XYZxyz(76.9256, 88.2226, 29.1928)
Luminance0.8822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF673 #737BFE
analogous
#FEB173 #FEF673 #C0FE73
triadic
#FEF673 #73FEF6 #F673FE
tetradic
#FEF673 #73FEB1 #737BFE #FE73C0
square
#FEF673 #73FEB1 #737BFE #FE73C0
split-complementary
#FEF673 #73C0FE #B173FE
monochromatic
#F5E702 #FEF236 #FEF673 #FEFAB0 #FFFDE1

Accessibility & contrast

On white

1.13
#FEF673 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.64
#FEF673 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF673
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF673#FFFFFF#000000##000000
##FEF6731.001.1318.6418.64
#FFFFFF1.131.0021.0021.00
#00000018.6421.001.001.00
##00000018.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE66
Deuteranopia (green-blind)
#FFF47A
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fef673;
/* rgb */ color: rgb(254, 246, 115);
/* oklch */ color: oklch(95.4% 0.152 105.7);
Tailwind
colors: {
  custom: {
    50: '#fff89f',
    500: '#fef673',
    950: '#000000',
  },
}
SCSS
$custom: #fef673;
$custom-light: #fff89f;
$custom-dark: #000000;
JSON
{
  "hex": "#fef673",
  "rgb": {
    "r": 254,
    "g": 246,
    "b": 115
  },
  "hsl": {
    "h": 56.547,
    "s": 98.582,
    "l": 72.353
  },
  "oklch": {
    "l": 0.95439,
    "c": 0.15191,
    "h": 105.7
  },
  "luminance": 0.8822
}

Semantic roles & 50–950 ramp

primary
#FEF673
secondary
#3A44DB
accent
#0DE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF673

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

Preview Lab → · Contrast checker → · Palette generator →

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