#FEFA70#FEFA70

#FEFA70 is a very light, vivid yellow. Relative luminance 0.906; OKLCH L 96.2% C 0.158 H 107.5°. Best body text is #000000 at 19.12:1 contrast (WCAG AA passes).

Color values

HEX#FEFA70
RGBrgb(254, 250, 112)
HSLhsl(58, 99%, 72%)
HSVhsv(58, 56%, 100%)
CMYKcmyk(0%, 1.6%, 55.9%, 0.4%)
CIE-LABlab(96.25, -15.75, 65.29)
CIE-LCHlch(96.25, 67.16, 103.56°)
OKLaboklab(96.22% -0.0476 0.1511)
OKLCHoklch(96.22% 0.158 107.5)
XYZxyz(77.9856, 90.6141, 28.7083)
Luminance0.9061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFA70 #7074FE
analogous
#FEB370 #FEFA70 #BBFE70
triadic
#FEFA70 #70FEFA #FA70FE
tetradic
#FEFA70 #70FEB3 #7074FE #FE70BB
square
#FEFA70 #70FEB3 #7074FE #FE70BB
split-complementary
#FEFA70 #70BBFE #B370FE
monochromatic
#F2EB02 #FEF833 #FEFA70 #FEFCAD #FFFEE1

Accessibility & contrast

On white

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

On black

19.12
#FEFA70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFA70
19.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFA70#FFFFFF#000000##000000
##FEFA701.001.1019.1219.12
#FFFFFF1.101.0021.0021.00
#00000019.1221.001.001.00
##00000019.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF161
Deuteranopia (green-blind)
#FFF778
Tritanopia (blue-blind)
#FFECDC
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fefa70;
/* rgb */ color: rgb(254, 250, 112);
/* oklch */ color: oklch(96.2% 0.158 107.5);
Tailwind
colors: {
  custom: {
    50: '#fffb9d',
    500: '#fefa70',
    950: '#000000',
  },
}
SCSS
$custom: #fefa70;
$custom-light: #fffb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#fefa70",
  "rgb": {
    "r": 254,
    "g": 250,
    "b": 112
  },
  "hsl": {
    "h": 58.31,
    "s": 98.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.96223,
    "c": 0.15844,
    "h": 107.5
  },
  "luminance": 0.90612
}

Semantic roles & 50–950 ramp

primary
#FEFA70
secondary
#383CDA
accent
#06E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FEFA70

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

Preview Lab → · Contrast checker → · Palette generator →

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