#FEFB7E#FEFB7E

#FEFB7E is a very light, vivid yellow. Relative luminance 0.916; OKLCH L 96.6% C 0.147 H 107.6°. Best body text is #000000 at 19.31:1 contrast (WCAG AA passes).

Color values

HEX#FEFB7E
RGBrgb(254, 251, 126)
HSLhsl(59, 98%, 75%)
HSVhsv(59, 50%, 100%)
CMYKcmyk(0%, 1.2%, 50.4%, 0.4%)
CIE-LABlab(96.65, -15.16, 59.55)
CIE-LCHlch(96.65, 61.45, 104.28°)
OKLaboklab(96.58% -0.0445 0.1402)
OKLCHoklch(96.58% 0.147 107.6)
XYZxyz(79.1381, 91.5736, 33.2413)
Luminance0.9157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFB7E #7E81FE
analogous
#FEBB7E #FEFB7E #C1FE7E
triadic
#FEFB7E #7EFEFB #FB7EFE
tetradic
#FEFB7E #7EFEBB #7E81FE #FE7EC1
square
#FEFB7E #7EFEBB #7E81FE #FE7EC1
split-complementary
#FEFB7E #7EC1FE #BB7EFE
monochromatic
#FDF705 #FEF941 #FEFB7E #FEFDBB #FFFEE1

Accessibility & contrast

On white

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

On black

19.31
#FEFB7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFB7E
19.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFB7E#FFFFFF#000000##000000
##FEFB7E1.001.0919.3119.31
#FFFFFF1.091.0021.0021.00
#00000019.3121.001.001.00
##00000019.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF372
Deuteranopia (green-blind)
#FFF884
Tritanopia (blue-blind)
#FFEEDF
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fefb7e;
/* rgb */ color: rgb(254, 251, 126);
/* oklch */ color: oklch(96.6% 0.147 107.6);
Tailwind
colors: {
  custom: {
    50: '#fffca6',
    500: '#fefb7e',
    950: '#000000',
  },
}
SCSS
$custom: #fefb7e;
$custom-light: #fffca6;
$custom-dark: #000000;
JSON
{
  "hex": "#fefb7e",
  "rgb": {
    "r": 254,
    "g": 251,
    "b": 126
  },
  "hsl": {
    "h": 58.594,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.96582,
    "c": 0.14708,
    "h": 107.6
  },
  "luminance": 0.91572
}

Semantic roles & 50–950 ramp

primary
#FEFB7E
secondary
#4447DD
accent
#05E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FEFB7E

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

Preview Lab → · Contrast checker → · Palette generator →

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