#FEFB70#FEFB70

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

Color values

HEX#FEFB70
RGBrgb(254, 251, 112)
HSLhsl(59, 99%, 72%)
HSVhsv(59, 56%, 100%)
CMYKcmyk(0%, 1.2%, 55.9%, 0.4%)
CIE-LABlab(96.51, -16.24, 65.58)
CIE-LCHlch(96.51, 67.56, 103.91°)
OKLaboklab(96.43% -0.049 0.1517)
OKLCHoklch(96.43% 0.159 107.9)
XYZxyz(78.2971, 91.2373, 28.8122)
Luminance0.9123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFB70 #7073FE
analogous
#FEB470 #FEFB70 #BAFE70
triadic
#FEFB70 #70FEFB #FB70FE
tetradic
#FEFB70 #70FEB4 #7073FE #FE70BA
square
#FEFB70 #70FEB4 #7073FE #FE70BA
split-complementary
#FEFB70 #70BAFE #B470FE
monochromatic
#F2ED02 #FEF933 #FEFB70 #FEFDAD #FFFEE1

Accessibility & contrast

On white

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

On black

19.25
#FEFB70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFB70
19.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFB70#FFFFFF#000000##000000
##FEFB701.001.0919.2519.25
#FFFFFF1.091.0021.0021.00
#00000019.2521.001.001.00
##00000019.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF261
Deuteranopia (green-blind)
#FFF778
Tritanopia (blue-blind)
#FFEDDD
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fefb70;
/* rgb */ color: rgb(254, 251, 112);
/* oklch */ color: oklch(96.4% 0.159 107.9);
Tailwind
colors: {
  custom: {
    50: '#fffc9d',
    500: '#fefb70',
    950: '#000000',
  },
}
SCSS
$custom: #fefb70;
$custom-light: #fffc9d;
$custom-dark: #000000;
JSON
{
  "hex": "#fefb70",
  "rgb": {
    "r": 254,
    "g": 251,
    "b": 112
  },
  "hsl": {
    "h": 58.732,
    "s": 98.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.96428,
    "c": 0.15945,
    "h": 107.9
  },
  "luminance": 0.91235
}

Semantic roles & 50–950 ramp

primary
#FEFB70
secondary
#383BDA
accent
#05E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FEFB70

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

Preview Lab → · Contrast checker → · Palette generator →

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