#FEF378#FEF378

#FEF378 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.31:1 contrast (WCAG AA passes).

Color values

HEX#FEF378
RGBrgb(254, 243, 120)
HSLhsl(55, 99%, 73%)
HSVhsv(55, 53%, 100%)
CMYKcmyk(0%, 4.3%, 52.8%, 0.4%)
CIE-LABlab(94.54, -11.74, 59.80)
CIE-LCHlch(94.54, 60.94, 101.10°)
OKLaboklab(94.89% -0.0353 0.1402)
OKLCHoklch(94.89% 0.145 104.2)
XYZxyz(76.3161, 86.5306, 30.4477)
Luminance0.8653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF378 #7883FE
analogous
#FEB078 #FEF378 #C6FE78
triadic
#FEF378 #78FEF3 #F378FE
tetradic
#FEF378 #78FEB0 #7883FE #FE78C6
square
#FEF378 #78FEB0 #7883FE #FE78C6
split-complementary
#FEF378 #78C6FE #B078FE
monochromatic
#FAE502 #FEEE3B #FEF378 #FEF8B5 #FFFCE1

Accessibility & contrast

On white

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

On black

18.31
#FEF378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF378
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF378#FFFFFF#000000##000000
##FEF3781.001.1518.3118.31
#FFFFFF1.151.0021.0021.00
#00000018.3121.001.001.00
##00000018.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fef378;
/* rgb */ color: rgb(254, 243, 120);
/* oklch */ color: oklch(94.9% 0.145 104.2);
Tailwind
colors: {
  custom: {
    50: '#fff6a2',
    500: '#fef378',
    950: '#000000',
  },
}
SCSS
$custom: #fef378;
$custom-light: #fff6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#fef378",
  "rgb": {
    "r": 254,
    "g": 243,
    "b": 120
  },
  "hsl": {
    "h": 55.075,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.94886,
    "c": 0.14455,
    "h": 104.2
  },
  "luminance": 0.86528
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FEF378

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

Preview Lab → · Contrast checker → · Palette generator →

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