#FEFEBA#FEFEBA

#FEFEBA is a very light, moderate yellow. Relative luminance 0.955; OKLCH L 98.1% C 0.086 H 107.9°. Best body text is #000000 at 20.10:1 contrast (WCAG AA passes).

Color values

HEX#FEFEBA
RGBrgb(254, 254, 186)
HSLhsl(60, 97%, 86%)
HSVhsv(60, 27%, 100%)
CMYKcmyk(0%, 0%, 26.8%, 0.4%)
CIE-LABlab(98.23, -10.33, 32.63)
CIE-LCHlch(98.23, 34.23, 107.56°)
OKLaboklab(98.11% -0.0264 0.0819)
OKLCHoklch(98.11% 0.086 107.9)
XYZxyz(85.1779, 95.5009, 60.3912)
Luminance0.9550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFEBA #BABAFE
analogous
#FEDCBA #FEFEBA #DCFEBA
triadic
#FEFEBA #BAFEFE #FEBAFE
tetradic
#FEFEBA #BAFEDC #BABAFE #FEBADC
square
#FEFEBA #BAFEDC #BABAFE #FEBADC
split-complementary
#FEFEBA #BADCFE #DCBAFE
monochromatic
#FCFC41 #FDFD7E #FEFEBA #FFFFE1 #FFFFE1

Accessibility & contrast

On white

1.04
#FEFEBA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.10
#FEFEBA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFEBA
20.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFEBA#FFFFFF#000000##000000
##FEFEBA1.001.0420.1020.10
#FFFFFF1.041.0021.0021.00
#00000020.1021.001.001.00
##00000020.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF8B6
Deuteranopia (green-blind)
#FFFBBD
Tritanopia (blue-blind)
#FFF5EC
Achromatopsia (no color)
#FAFAFA

Design tokens & code

CSS
--color: #fefeba;
/* rgb */ color: rgb(254, 254, 186);
/* oklch */ color: oklch(98.1% 0.086 107.9);
Tailwind
colors: {
  custom: {
    50: '#fffecf',
    500: '#fefeba',
    950: '#000000',
  },
}
SCSS
$custom: #fefeba;
$custom-light: #fffecf;
$custom-dark: #000000;
JSON
{
  "hex": "#fefeba",
  "rgb": {
    "r": 254,
    "g": 254,
    "b": 186
  },
  "hsl": {
    "h": 60,
    "s": 97.143,
    "l": 86.275
  },
  "oklch": {
    "l": 0.98112,
    "c": 0.0861,
    "h": 107.9
  },
  "luminance": 0.955
}

Semantic roles & 50–950 ramp

primary
#FEFEBA
secondary
#7777E5
accent
#00E600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181714
muted
#868583

Preview Lab

Preview with #FEFEBA

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

Preview Lab → · Contrast checker → · Palette generator →

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