#FEF775#FEF775

#FEF775 is a very light, vivid yellow. Relative luminance 0.889; OKLCH L 95.7% C 0.151 H 106.1°. Best body text is #000000 at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#FEF775
RGBrgb(254, 247, 117)
HSLhsl(57, 99%, 73%)
HSVhsv(57, 54%, 100%)
CMYKcmyk(0%, 2.8%, 53.9%, 0.4%)
CIE-LABlab(95.53, -13.92, 62.29)
CIE-LCHlch(95.53, 63.82, 102.60°)
OKLaboklab(95.67% -0.0419 0.1452)
OKLCHoklch(95.67% 0.151 106.1)
XYZxyz(77.3470, 88.8790, 29.9072)
Luminance0.8888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF775 #757CFE
analogous
#FEB275 #FEF775 #C1FE75
triadic
#FEF775 #75FEF7 #F775FE
tetradic
#FEF775 #75FEB2 #757CFE #FE75C1
square
#FEF775 #75FEB2 #757CFE #FE75C1
split-complementary
#FEF775 #75C1FE #B275FE
monochromatic
#F7EA02 #FEF338 #FEF775 #FEFBB2 #FFFDE1

Accessibility & contrast

On white

1.12
#FEF775 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.78
#FEF775 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF775
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF775#FFFFFF#000000##000000
##FEF7751.001.1218.7818.78
#FFFFFF1.121.0021.0021.00
#00000018.7821.001.001.00
##00000018.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF68
Deuteranopia (green-blind)
#FFF57C
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fef775;
/* rgb */ color: rgb(254, 247, 117);
/* oklch */ color: oklch(95.7% 0.151 106.1);
Tailwind
colors: {
  custom: {
    50: '#fff9a0',
    500: '#fef775',
    950: '#000000',
  },
}
SCSS
$custom: #fef775;
$custom-light: #fff9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#fef775",
  "rgb": {
    "r": 254,
    "g": 247,
    "b": 117
  },
  "hsl": {
    "h": 56.934,
    "s": 98.561,
    "l": 72.745
  },
  "oklch": {
    "l": 0.95665,
    "c": 0.15115,
    "h": 106.1
  },
  "luminance": 0.88877
}

Semantic roles & 50–950 ramp

primary
#FEF775
secondary
#3C44DB
accent
#0CE600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF775

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

Preview Lab → · Contrast checker → · Palette generator →

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