#FEFA76#FEFA76

#FEFA76 is a very light, vivid yellow. Relative luminance 0.907; OKLCH L 96.3% C 0.153 H 107.4°. Best body text is #000000 at 19.15:1 contrast (WCAG AA passes).

Color values

HEX#FEFA76
RGBrgb(254, 250, 118)
HSLhsl(58, 99%, 73%)
HSVhsv(58, 54%, 100%)
CMYKcmyk(0%, 1.6%, 53.5%, 0.4%)
CIE-LABlab(96.31, -15.31, 62.74)
CIE-LCHlch(96.31, 64.58, 103.71°)
OKLaboklab(96.29% -0.0457 0.1463)
OKLCHoklch(96.29% 0.153 107.4)
XYZxyz(78.3308, 90.7523, 30.5267)
Luminance0.9075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFA76 #767AFE
analogous
#FEB676 #FEFA76 #BEFE76
triadic
#FEFA76 #76FEFA #FA76FE
tetradic
#FEFA76 #76FEB6 #767AFE #FE76BE
square
#FEFA76 #76FEB6 #767AFE #FE76BE
split-complementary
#FEFA76 #76BEFE #B676FE
monochromatic
#F8F102 #FEF839 #FEFA76 #FEFCB3 #FFFEE1

Accessibility & contrast

On white

1.10
#FEFA76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.15
#FEFA76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFA76
19.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFA76#FFFFFF#000000##000000
##FEFA761.001.1019.1519.15
#FFFFFF1.101.0021.0021.00
#00000019.1521.001.001.00
##00000019.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF169
Deuteranopia (green-blind)
#FFF77D
Tritanopia (blue-blind)
#FFECDD
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fefa76;
/* rgb */ color: rgb(254, 250, 118);
/* oklch */ color: oklch(96.3% 0.153 107.4);
Tailwind
colors: {
  custom: {
    50: '#fffba1',
    500: '#fefa76',
    950: '#000000',
  },
}
SCSS
$custom: #fefa76;
$custom-light: #fffba1;
$custom-dark: #000000;
JSON
{
  "hex": "#fefa76",
  "rgb": {
    "r": 254,
    "g": 250,
    "b": 118
  },
  "hsl": {
    "h": 58.235,
    "s": 98.551,
    "l": 72.941
  },
  "oklch": {
    "l": 0.96287,
    "c": 0.15328,
    "h": 107.4
  },
  "luminance": 0.9075
}

Semantic roles & 50–950 ramp

primary
#FEFA76
secondary
#3D41DB
accent
#07E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FEFA76

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

Preview Lab → · Contrast checker → · Palette generator →

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