#FEFA6F#FEFA6F

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

Color values

HEX#FEFA6F
RGBrgb(254, 250, 111)
HSLhsl(58, 99%, 72%)
HSVhsv(58, 56%, 100%)
CMYKcmyk(0%, 1.6%, 56.3%, 0.4%)
CIE-LABlab(96.24, -15.82, 65.71)
CIE-LCHlch(96.24, 67.59, 103.54°)
OKLaboklab(96.21% -0.0479 0.1519)
OKLCHoklch(96.21% 0.159 107.5)
XYZxyz(77.9302, 90.5920, 28.4167)
Luminance0.9059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFA6F #6F73FE
analogous
#FEB36F #FEFA6F #BBFE6F
triadic
#FEFA6F #6FFEFA #FA6FFE
tetradic
#FEFA6F #6FFEB3 #6F73FE #FE6FBB
square
#FEFA6F #6FFEB3 #6F73FE #FE6FBB
split-complementary
#FEFA6F #6FBBFE #B36FFE
monochromatic
#F1EA02 #FEF832 #FEFA6F #FEFCAC #FFFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FEFA6F#FFFFFF#000000##000000
##FEFA6F1.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)
#FFF160
Deuteranopia (green-blind)
#FFF777
Tritanopia (blue-blind)
#FFECDC
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fefa6f;
/* rgb */ color: rgb(254, 250, 111);
/* oklch */ color: oklch(96.2% 0.159 107.5);
Tailwind
colors: {
  custom: {
    50: '#fffb9d',
    500: '#fefa6f',
    950: '#000000',
  },
}
SCSS
$custom: #fefa6f;
$custom-light: #fffb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#fefa6f",
  "rgb": {
    "r": 254,
    "g": 250,
    "b": 111
  },
  "hsl": {
    "h": 58.322,
    "s": 98.621,
    "l": 71.569
  },
  "oklch": {
    "l": 0.96213,
    "c": 0.15929,
    "h": 107.5
  },
  "luminance": 0.9059
}

Semantic roles & 50–950 ramp

primary
#FEFA6F
secondary
#373BDA
accent
#06E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FEFA6F

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

Preview Lab → · Contrast checker → · Palette generator →

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