#FEFA7A#FEFA7A

#FEFA7A is a very light, vivid yellow. Relative luminance 0.908; OKLCH L 96.3% C 0.150 H 107.3°. Best body text is #000000 at 19.17:1 contrast (WCAG AA passes).

Color values

HEX#FEFA7A
RGBrgb(254, 250, 122)
HSLhsl(58, 99%, 74%)
HSVhsv(58, 52%, 100%)
CMYKcmyk(0%, 1.6%, 52%, 0.4%)
CIE-LABlab(96.35, -15.00, 61.00)
CIE-LCHlch(96.35, 62.82, 103.81°)
OKLaboklab(96.33% -0.0445 0.143)
OKLCHoklch(96.33% 0.15 107.3)
XYZxyz(78.5736, 90.8494, 31.8052)
Luminance0.9085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFA7A #7A7EFE
analogous
#FEB87A #FEFA7A #C0FE7A
triadic
#FEFA7A #7AFEFA #FA7AFE
tetradic
#FEFA7A #7AFEB8 #7A7EFE #FE7AC0
square
#FEFA7A #7AFEB8 #7A7EFE #FE7AC0
split-complementary
#FEFA7A #7AC0FE #B87AFE
monochromatic
#FCF402 #FEF83D #FEFA7A #FEFCB7 #FFFEE1

Accessibility & contrast

On white

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

On black

19.17
#FEFA7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFA7A
19.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFA7A#FFFFFF#000000##000000
##FEFA7A1.001.1019.1719.17
#FFFFFF1.101.0021.0021.00
#00000019.1721.001.001.00
##00000019.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fefa7a;
/* rgb */ color: rgb(254, 250, 122);
/* oklch */ color: oklch(96.3% 0.150 107.3);
Tailwind
colors: {
  custom: {
    50: '#fffba4',
    500: '#fefa7a',
    950: '#000000',
  },
}
SCSS
$custom: #fefa7a;
$custom-light: #fffba4;
$custom-dark: #000000;
JSON
{
  "hex": "#fefa7a",
  "rgb": {
    "r": 254,
    "g": 250,
    "b": 122
  },
  "hsl": {
    "h": 58.182,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.96332,
    "c": 0.14971,
    "h": 107.3
  },
  "luminance": 0.90847
}

Semantic roles & 50–950 ramp

primary
#FEFA7A
secondary
#4045DC
accent
#07E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FEFA7A

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

Preview Lab → · Contrast checker → · Palette generator →

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