#FEFA6E#FEFA6E

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

Color values

HEX#FEFA6E
RGBrgb(254, 250, 110)
HSLhsl(58, 99%, 71%)
HSVhsv(58, 57%, 100%)
CMYKcmyk(0%, 1.6%, 56.7%, 0.4%)
CIE-LABlab(96.23, -15.89, 66.13)
CIE-LCHlch(96.23, 68.01, 103.51°)
OKLaboklab(96.2% -0.0482 0.1527)
OKLCHoklch(96.2% 0.16 107.5)
XYZxyz(77.8755, 90.5701, 28.1284)
Luminance0.9057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFA6E #6E72FE
analogous
#FEB26E #FEFA6E #BAFE6E
triadic
#FEFA6E #6EFEFA #FA6EFE
tetradic
#FEFA6E #6EFEB2 #6E72FE #FE6EBA
square
#FEFA6E #6EFEB2 #6E72FE #FE6EBA
split-complementary
#FEFA6E #6EBAFE #B26EFE
monochromatic
#F0E902 #FEF831 #FEFA6E #FEFCAB #FFFEE1

Accessibility & contrast

On white

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

On black

19.11
#FEFA6E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFA6E
19.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFA6E#FFFFFF#000000##000000
##FEFA6E1.001.1019.1119.11
#FFFFFF1.101.0021.0021.00
#00000019.1121.001.001.00
##00000019.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fefa6e;
/* rgb */ color: rgb(254, 250, 110);
/* oklch */ color: oklch(96.2% 0.160 107.5);
Tailwind
colors: {
  custom: {
    50: '#fffb9c',
    500: '#fefa6e',
    950: '#000000',
  },
}
SCSS
$custom: #fefa6e;
$custom-light: #fffb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#fefa6e",
  "rgb": {
    "r": 254,
    "g": 250,
    "b": 110
  },
  "hsl": {
    "h": 58.333,
    "s": 98.63,
    "l": 71.373
  },
  "oklch": {
    "l": 0.96203,
    "c": 0.16011,
    "h": 107.5
  },
  "luminance": 0.90568
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FEFA6E

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

Preview Lab → · Contrast checker → · Palette generator →

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