#FEF377#FEF377

#FEF377 is a very light, vivid yellow. Relative luminance 0.865; OKLCH L 94.9% C 0.145 H 104.2°. Best body text is #000000 at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#FEF377
RGBrgb(254, 243, 119)
HSLhsl(55, 99%, 73%)
HSVhsv(55, 53%, 100%)
CMYKcmyk(0%, 4.3%, 53.1%, 0.4%)
CIE-LABlab(94.53, -11.81, 60.24)
CIE-LCHlch(94.53, 61.38, 101.10°)
OKLaboklab(94.88% -0.0357 0.141)
OKLCHoklch(94.88% 0.145 104.2)
XYZxyz(76.2557, 86.5064, 30.1297)
Luminance0.8650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF377 #7782FE
analogous
#FEAF77 #FEF377 #C5FE77
triadic
#FEF377 #77FEF3 #F377FE
tetradic
#FEF377 #77FEAF #7782FE #FE77C5
square
#FEF377 #77FEAF #7782FE #FE77C5
split-complementary
#FEF377 #77C5FE #AF77FE
monochromatic
#F9E502 #FEEE3A #FEF377 #FEF8B4 #FFFCE1

Accessibility & contrast

On white

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

On black

18.30
#FEF377 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF377
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF377#FFFFFF#000000##000000
##FEF3771.001.1518.3018.30
#FFFFFF1.151.0021.0021.00
#00000018.3021.001.001.00
##00000018.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6B
Deuteranopia (green-blind)
#FFF27D
Tritanopia (blue-blind)
#FFE5D7
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fef377;
/* rgb */ color: rgb(254, 243, 119);
/* oklch */ color: oklch(94.9% 0.145 104.2);
Tailwind
colors: {
  custom: {
    50: '#fff6a1',
    500: '#fef377',
    950: '#000000',
  },
}
SCSS
$custom: #fef377;
$custom-light: #fff6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#fef377",
  "rgb": {
    "r": 254,
    "g": 243,
    "b": 119
  },
  "hsl": {
    "h": 55.111,
    "s": 98.54,
    "l": 73.137
  },
  "oklch": {
    "l": 0.94875,
    "c": 0.14545,
    "h": 104.2
  },
  "luminance": 0.86504
}

Semantic roles & 50–950 ramp

primary
#FEF377
secondary
#3E4BDC
accent
#13E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF377

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

Preview Lab → · Contrast checker → · Palette generator →

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