#FEFA7C#FEFA7C

#FEFA7C is a very light, vivid yellow. Relative luminance 0.909; OKLCH L 96.4% C 0.148 H 107.2°. Best body text is #000000 at 19.18:1 contrast (WCAG AA passes).

Color values

HEX#FEFA7C
RGBrgb(254, 250, 124)
HSLhsl(58, 98%, 74%)
HSVhsv(58, 51%, 100%)
CMYKcmyk(0%, 1.6%, 51.2%, 0.4%)
CIE-LABlab(96.37, -14.84, 60.13)
CIE-LCHlch(96.37, 61.93, 103.86°)
OKLaboklab(96.36% -0.0438 0.1413)
OKLCHoklch(96.36% 0.148 107.2)
XYZxyz(78.6988, 90.8994, 32.4646)
Luminance0.9090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFA7C #7C80FE
analogous
#FEB97C #FEFA7C #C1FE7C
triadic
#FEFA7C #7CFEFA #FA7CFE
tetradic
#FEFA7C #7CFEB9 #7C80FE #FE7CC1
square
#FEFA7C #7CFEB9 #7C80FE #FE7CC1
split-complementary
#FEFA7C #7CC1FE #B97CFE
monochromatic
#FDF503 #FEF83F #FEFA7C #FEFCB9 #FFFEE1

Accessibility & contrast

On white

1.09
#FEFA7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.18
#FEFA7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFA7C
19.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFA7C#FFFFFF#000000##000000
##FEFA7C1.001.0919.1819.18
#FFFFFF1.091.0021.0021.00
#00000019.1821.001.001.00
##00000019.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF270
Deuteranopia (green-blind)
#FFF782
Tritanopia (blue-blind)
#FFECDE
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fefa7c;
/* rgb */ color: rgb(254, 250, 124);
/* oklch */ color: oklch(96.4% 0.148 107.2);
Tailwind
colors: {
  custom: {
    50: '#fffba5',
    500: '#fefa7c',
    950: '#000000',
  },
}
SCSS
$custom: #fefa7c;
$custom-light: #fffba5;
$custom-dark: #000000;
JSON
{
  "hex": "#fefa7c",
  "rgb": {
    "r": 254,
    "g": 250,
    "b": 124
  },
  "hsl": {
    "h": 58.154,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.96355,
    "c": 0.14789,
    "h": 107.2
  },
  "luminance": 0.90897
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FEFA7C

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

Preview Lab → · Contrast checker → · Palette generator →

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