#FEF375#FEF375

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

Color values

HEX#FEF375
RGBrgb(254, 243, 117)
HSLhsl(55, 99%, 73%)
HSVhsv(55, 54%, 100%)
CMYKcmyk(0%, 4.3%, 53.9%, 0.4%)
CIE-LABlab(94.51, -11.97, 61.11)
CIE-LCHlch(94.51, 62.27, 101.08°)
OKLaboklab(94.85% -0.0363 0.1427)
OKLCHoklch(94.85% 0.147 104.3)
XYZxyz(76.1369, 86.4589, 29.5038)
Luminance0.8646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF375 #7580FE
analogous
#FEAE75 #FEF375 #C5FE75
triadic
#FEF375 #75FEF3 #F375FE
tetradic
#FEF375 #75FEAE #7580FE #FE75C5
square
#FEF375 #75FEAE #7580FE #FE75C5
split-complementary
#FEF375 #75C5FE #AE75FE
monochromatic
#F7E302 #FEEE38 #FEF375 #FEF8B2 #FFFCE1

Accessibility & contrast

On white

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

On black

18.29
#FEF375 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF375
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF375#FFFFFF#000000##000000
##FEF3751.001.1518.2918.29
#FFFFFF1.151.0021.0021.00
#00000018.2921.001.001.00
##00000018.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fef375;
/* rgb */ color: rgb(254, 243, 117);
/* oklch */ color: oklch(94.9% 0.147 104.3);
Tailwind
colors: {
  custom: {
    50: '#fff6a0',
    500: '#fef375',
    950: '#000000',
  },
}
SCSS
$custom: #fef375;
$custom-light: #fff6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#fef375",
  "rgb": {
    "r": 254,
    "g": 243,
    "b": 117
  },
  "hsl": {
    "h": 55.182,
    "s": 98.561,
    "l": 72.745
  },
  "oklch": {
    "l": 0.94852,
    "c": 0.14724,
    "h": 104.3
  },
  "luminance": 0.86456
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FEF375

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

Preview Lab → · Contrast checker → · Palette generator →

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