#FEFB6E#FEFB6E

#FEFB6E is a very light, vivid yellow. Relative luminance 0.912; OKLCH L 96.4% C 0.161 H 107.9°. Best body text is #000000 at 19.24:1 contrast (WCAG AA passes).

Color values

HEX#FEFB6E
RGBrgb(254, 251, 110)
HSLhsl(59, 99%, 71%)
HSVhsv(59, 57%, 100%)
CMYKcmyk(0%, 1.2%, 56.7%, 0.4%)
CIE-LABlab(96.49, -16.38, 66.41)
CIE-LCHlch(96.49, 68.40, 103.85°)
OKLaboklab(96.41% -0.0496 0.1533)
OKLCHoklch(96.41% 0.161 107.9)
XYZxyz(78.1870, 91.1932, 28.2322)
Luminance0.9119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFB6E #6E71FE
analogous
#FEB36E #FEFB6E #B9FE6E
triadic
#FEFB6E #6EFEFB #FB6EFE
tetradic
#FEFB6E #6EFEB3 #6E71FE #FE6EB9
square
#FEFB6E #6EFEB3 #6E71FE #FE6EB9
split-complementary
#FEFB6E #6EB9FE #B36EFE
monochromatic
#F0EB02 #FEF931 #FEFB6E #FEFDAB #FFFEE1

Accessibility & contrast

On white

1.09
#FEFB6E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.24
#FEFB6E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFB6E
19.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFB6E#FFFFFF#000000##000000
##FEFB6E1.001.0919.2419.24
#FFFFFF1.091.0021.0021.00
#00000019.2421.001.001.00
##00000019.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF25F
Deuteranopia (green-blind)
#FFF776
Tritanopia (blue-blind)
#FFEDDC
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fefb6e;
/* rgb */ color: rgb(254, 251, 110);
/* oklch */ color: oklch(96.4% 0.161 107.9);
Tailwind
colors: {
  custom: {
    50: '#fffc9c',
    500: '#fefb6e',
    950: '#000000',
  },
}
SCSS
$custom: #fefb6e;
$custom-light: #fffc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#fefb6e",
  "rgb": {
    "r": 254,
    "g": 251,
    "b": 110
  },
  "hsl": {
    "h": 58.75,
    "s": 98.63,
    "l": 71.373
  },
  "oklch": {
    "l": 0.96408,
    "c": 0.16111,
    "h": 107.9
  },
  "luminance": 0.91191
}

Semantic roles & 50–950 ramp

primary
#FEFB6E
secondary
#3639DA
accent
#05E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FEFB6E

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

Preview Lab → · Contrast checker → · Palette generator →

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