#FEFBA2#FEFBA2

#FEFBA2 is a very light, moderate yellow. Relative luminance 0.927; OKLCH L 97.1% C 0.110 H 106.6°. Best body text is #000000 at 19.53:1 contrast (WCAG AA passes).

Color values

HEX#FEFBA2
RGBrgb(254, 251, 162)
HSLhsl(58, 98%, 82%)
HSVhsv(58, 36%, 100%)
CMYKcmyk(0%, 1.2%, 36.2%, 0.4%)
CIE-LABlab(97.10, -11.70, 43.04)
CIE-LCHlch(97.10, 44.61, 105.21°)
OKLaboklab(97.09% -0.0315 0.1056)
OKLCHoklch(97.09% 0.11 106.6)
XYZxyz(81.8928, 92.6755, 47.7496)
Luminance0.9267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFBA2 #A2A5FE
analogous
#FECDA2 #FEFBA2 #D3FEA2
triadic
#FEFBA2 #A2FEFB #FBA2FE
tetradic
#FEFBA2 #A2FECD #A2A5FE #FEA2D3
square
#FEFBA2 #A2FECD #A2A5FE #FEA2D3
split-complementary
#FEFBA2 #A2D3FE #CDA2FE
monochromatic
#FDF629 #FDF865 #FEFBA2 #FFFEDF #FFFEE1

Accessibility & contrast

On white

1.08
#FEFBA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.53
#FEFBA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFBA2
19.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFBA2#FFFFFF#000000##000000
##FEFBA21.001.0819.5319.53
#FFFFFF1.081.0021.0021.00
#00000019.5321.001.001.00
##00000019.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF49B
Deuteranopia (green-blind)
#FFF9A6
Tritanopia (blue-blind)
#FFF0E5
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fefba2;
/* rgb */ color: rgb(254, 251, 162);
/* oklch */ color: oklch(97.1% 0.110 106.6);
Tailwind
colors: {
  custom: {
    50: '#fffcbe',
    500: '#fefba2',
    950: '#000000',
  },
}
SCSS
$custom: #fefba2;
$custom-light: #fffcbe;
$custom-dark: #000000;
JSON
{
  "hex": "#fefba2",
  "rgb": {
    "r": 254,
    "g": 251,
    "b": 162
  },
  "hsl": {
    "h": 58.043,
    "s": 97.872,
    "l": 81.569
  },
  "oklch": {
    "l": 0.97086,
    "c": 0.11025,
    "h": 106.6
  },
  "luminance": 0.92674
}

Semantic roles & 50–950 ramp

primary
#FEFBA2
secondary
#6267E2
accent
#07E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FEFBA2

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

Preview Lab → · Contrast checker → · Palette generator →

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