#FEF071#FEF071

#FEF071 is a very light, vivid yellow. Relative luminance 0.846; OKLCH L 94.2% C 0.148 H 103.0°. Best body text is #000000 at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#FEF071
RGBrgb(254, 240, 113)
HSLhsl(54, 99%, 72%)
HSVhsv(54, 56%, 100%)
CMYKcmyk(0%, 5.5%, 55.5%, 0.4%)
CIE-LABlab(93.70, -10.79, 61.97)
CIE-LCHlch(93.70, 62.90, 99.88°)
OKLaboklab(94.2% -0.0334 0.1441)
OKLCHoklch(94.2% 0.148 103)
XYZxyz(75.0162, 84.5859, 27.9948)
Luminance0.8458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF071 #717FFE
analogous
#FEAA71 #FEF071 #C5FE71
triadic
#FEF071 #71FEF0 #F071FE
tetradic
#FEF071 #71FEAA #717FFE #FE71C5
square
#FEF071 #71FEAA #717FFE #FE71C5
split-complementary
#FEF071 #71C5FE #AA71FE
monochromatic
#F3DB02 #FEEA34 #FEF071 #FEF6AE #FFFCE1

Accessibility & contrast

On white

1.17
#FEF071 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.92
#FEF071 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF071
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF071#FFFFFF#000000##000000
##FEF0711.001.1717.9217.92
#FFFFFF1.171.0021.0021.00
#00000017.9221.001.001.00
##00000017.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE964
Deuteranopia (green-blind)
#FFF077
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fef071;
/* rgb */ color: rgb(254, 240, 113);
/* oklch */ color: oklch(94.2% 0.148 103.0);
Tailwind
colors: {
  custom: {
    50: '#fff49d',
    500: '#fef071',
    950: '#000000',
  },
}
SCSS
$custom: #fef071;
$custom-light: #fff49d;
$custom-dark: #000000;
JSON
{
  "hex": "#fef071",
  "rgb": {
    "r": 254,
    "g": 240,
    "b": 113
  },
  "hsl": {
    "h": 54.043,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.94201,
    "c": 0.14793,
    "h": 103
  },
  "luminance": 0.84583
}

Semantic roles & 50–950 ramp

primary
#FEF071
secondary
#3949DB
accent
#17E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF071

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

Preview Lab → · Contrast checker → · Palette generator →

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