#FEF074#FEF074

#FEF074 is a very light, vivid yellow. Relative luminance 0.847; OKLCH L 94.2% C 0.145 H 102.9°. Best body text is #000000 at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#FEF074
RGBrgb(254, 240, 116)
HSLhsl(54, 99%, 73%)
HSVhsv(54, 54%, 100%)
CMYKcmyk(0%, 5.5%, 54.3%, 0.4%)
CIE-LABlab(93.73, -10.57, 60.67)
CIE-LCHlch(93.73, 61.58, 99.88°)
OKLaboklab(94.23% -0.0324 0.1416)
OKLCHoklch(94.23% 0.145 102.9)
XYZxyz(75.1879, 84.6546, 28.8990)
Luminance0.8465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF074 #7482FE
analogous
#FEAB74 #FEF074 #C7FE74
triadic
#FEF074 #74FEF0 #F074FE
tetradic
#FEF074 #74FEAB #7482FE #FE74C7
square
#FEF074 #74FEAB #7482FE #FE74C7
split-complementary
#FEF074 #74C7FE #AB74FE
monochromatic
#F6DD02 #FEE937 #FEF074 #FEF7B1 #FFFCE1

Accessibility & contrast

On white

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

On black

17.93
#FEF074 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF074
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF074#FFFFFF#000000##000000
##FEF0741.001.1717.9317.93
#FFFFFF1.171.0021.0021.00
#00000017.9321.001.001.00
##00000017.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fef074;
/* rgb */ color: rgb(254, 240, 116);
/* oklch */ color: oklch(94.2% 0.145 102.9);
Tailwind
colors: {
  custom: {
    50: '#fff49f',
    500: '#fef074',
    950: '#000000',
  },
}
SCSS
$custom: #fef074;
$custom-light: #fff49f;
$custom-dark: #000000;
JSON
{
  "hex": "#fef074",
  "rgb": {
    "r": 254,
    "g": 240,
    "b": 116
  },
  "hsl": {
    "h": 53.913,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.94234,
    "c": 0.14529,
    "h": 102.9
  },
  "luminance": 0.84652
}

Semantic roles & 50–950 ramp

primary
#FEF074
secondary
#3B4BDB
accent
#17E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF074

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

Preview Lab → · Contrast checker → · Palette generator →

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