#FEFF7B#FEFF7B

#FEFF7B is a very light, vivid yellow. Relative luminance 0.940; OKLCH L 97.4% C 0.154 H 109.3°. Best body text is #000000 at 19.80:1 contrast (WCAG AA passes).

Color values

HEX#FEFF7B
RGBrgb(254, 255, 123)
HSLhsl(60, 100%, 74%)
HSVhsv(60, 52%, 100%)
CMYKcmyk(0.4%, 0%, 51.8%, 0%)
CIE-LABlab(97.64, -17.33, 62.06)
CIE-LCHlch(97.64, 64.43, 105.61°)
OKLaboklab(97.37% -0.051 0.1453)
OKLCHoklch(97.37% 0.154 109.3)
XYZxyz(80.2102, 94.0228, 32.6580)
Luminance0.9402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFF7B #7C7BFF
analogous
#FFBE7B #FEFF7B #BCFF7B
triadic
#FEFF7B #7BFEFF #FF7BFE
tetradic
#FEFF7B #7BFFBE #7C7BFF #FF7BBC
square
#FEFF7B #7BFFBE #7C7BFF #FF7BBC
split-complementary
#FEFF7B #7BBCFF #BE7BFF
monochromatic
#FDFF01 #FEFF3E #FEFF7B #FEFFB8 #FFFFE0

Accessibility & contrast

On white

1.06
#FEFF7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.80
#FEFF7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFF7B
19.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFF7B#FFFFFF#000000##000000
##FEFF7B1.001.0619.8019.80
#FFFFFF1.061.0021.0021.00
#00000019.8021.001.001.00
##00000019.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF66E
Deuteranopia (green-blind)
#FFFA82
Tritanopia (blue-blind)
#FFF1E1
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #feff7b;
/* rgb */ color: rgb(254, 255, 123);
/* oklch */ color: oklch(97.4% 0.154 109.3);
Tailwind
colors: {
  custom: {
    50: '#ffffa5',
    500: '#feff7b',
    950: '#000000',
  },
}
SCSS
$custom: #feff7b;
$custom-light: #ffffa5;
$custom-dark: #000000;
JSON
{
  "hex": "#feff7b",
  "rgb": {
    "r": 254,
    "g": 255,
    "b": 123
  },
  "hsl": {
    "h": 60.455,
    "s": 100,
    "l": 74.118
  },
  "oklch": {
    "l": 0.97365,
    "c": 0.15403,
    "h": 109.3
  },
  "luminance": 0.94021
}

Semantic roles & 50–950 ramp

primary
#FEFF7B
secondary
#4241DD
accent
#00E602
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FEFF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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