#FEF46B#FEF46B

#FEF46B is a very light, vivid yellow. Relative luminance 0.868; OKLCH L 94.9% C 0.157 H 105.1°. Best body text is #000000 at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#FEF46B
RGBrgb(254, 244, 107)
HSLhsl(56, 99%, 71%)
HSVhsv(56, 58%, 100%)
CMYKcmyk(0%, 3.9%, 57.9%, 0.4%)
CIE-LABlab(94.67, -13.18, 65.67)
CIE-LCHlch(94.67, 66.98, 101.35°)
OKLaboklab(94.95% -0.0408 0.1513)
OKLCHoklch(94.95% 0.157 105.1)
XYZxyz(75.8801, 86.8363, 26.6711)
Luminance0.8683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF46B #6B75FE
analogous
#FEAA6B #FEF46B #BFFE6B
triadic
#FEF46B #6BFEF4 #F46BFE
tetradic
#FEF46B #6BFEAA #6B75FE #FE6BBF
square
#FEF46B #6BFEAA #6B75FE #FE6BBF
split-complementary
#FEF46B #6BBFFE #AA6BFE
monochromatic
#EDDD02 #FEEF2E #FEF46B #FEF9A8 #FFFDE1

Accessibility & contrast

On white

1.14
#FEF46B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.37
#FEF46B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF46B
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF46B#FFFFFF#000000##000000
##FEF46B1.001.1418.3718.37
#FFFFFF1.141.0021.0021.00
#00000018.3721.001.001.00
##00000018.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC5C
Deuteranopia (green-blind)
#FFF372
Tritanopia (blue-blind)
#FFE5D6
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fef46b;
/* rgb */ color: rgb(254, 244, 107);
/* oklch */ color: oklch(94.9% 0.157 105.1);
Tailwind
colors: {
  custom: {
    50: '#fff79a',
    500: '#fef46b',
    950: '#000000',
  },
}
SCSS
$custom: #fef46b;
$custom-light: #fff79a;
$custom-dark: #000000;
JSON
{
  "hex": "#fef46b",
  "rgb": {
    "r": 254,
    "g": 244,
    "b": 107
  },
  "hsl": {
    "h": 55.918,
    "s": 98.658,
    "l": 70.784
  },
  "oklch": {
    "l": 0.94949,
    "c": 0.15676,
    "h": 105.1
  },
  "luminance": 0.86834
}

Semantic roles & 50–950 ramp

primary
#FEF46B
secondary
#333FDA
accent
#10E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FEF46B

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

Preview Lab → · Contrast checker → · Palette generator →

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