#FEFB46#FEFB46

#FEFB46 is a very light, vivid yellow. Relative luminance 0.905; OKLCH L 96.1% C 0.188 H 108.5°. Best body text is #000000 at 19.10:1 contrast (WCAG AA passes).

Color values

HEX#FEFB46
RGBrgb(254, 251, 70)
HSLhsl(59, 99%, 64%)
HSVhsv(59, 72%, 100%)
CMYKcmyk(0%, 1.2%, 72.4%, 0.4%)
CIE-LABlab(96.21, -18.60, 81.24)
CIE-LCHlch(96.21, 83.34, 102.90°)
OKLaboklab(96.09% -0.0598 0.1787)
OKLCHoklch(96.09% 0.188 108.5)
XYZxyz(76.4786, 90.5098, 19.2347)
Luminance0.9051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFB46 #4649FE
analogous
#FE9F46 #FEFB46 #A5FE46
triadic
#FEFB46 #46FEFB #FB46FE
tetradic
#FEFB46 #46FE9F #4649FE #FE46A5
square
#FEFB46 #46FE9F #4649FE #FE46A5
split-complementary
#FEFB46 #46A5FE #9F46FE
monochromatic
#C9C501 #FEFA09 #FEFB46 #FEFC83 #FFFEC0

Accessibility & contrast

On white

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

On black

19.10
#FEFB46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFB46
19.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFB46#FFFFFF#000000##000000
##FEFB461.001.1019.1019.10
#FFFFFF1.101.0021.0021.00
#00000019.1021.001.001.00
##00000019.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF120
Deuteranopia (green-blind)
#FFF754
Tritanopia (blue-blind)
#FFEBD8
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fefb46;
/* rgb */ color: rgb(254, 251, 70);
/* oklch */ color: oklch(96.1% 0.188 108.5);
Tailwind
colors: {
  custom: {
    50: '#fffc86',
    500: '#fefb46',
    950: '#000000',
  },
}
SCSS
$custom: #fefb46;
$custom-light: #fffc86;
$custom-dark: #000000;
JSON
{
  "hex": "#fefb46",
  "rgb": {
    "r": 254,
    "g": 251,
    "b": 70
  },
  "hsl": {
    "h": 59.022,
    "s": 98.925,
    "l": 63.529
  },
  "oklch": {
    "l": 0.96093,
    "c": 0.18844,
    "h": 108.5
  },
  "luminance": 0.90507
}

Semantic roles & 50–950 ramp

primary
#FEFB46
secondary
#2426C4
accent
#04E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170C
muted
#87857F

Preview Lab

Preview with #FEFB46

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

Preview Lab → · Contrast checker → · Palette generator →

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