#FEFA6B#FEFA6B

#FEFA6B is a very light, vivid yellow. Relative luminance 0.905; OKLCH L 96.2% C 0.163 H 107.6°. Best body text is #000000 at 19.10:1 contrast (WCAG AA passes).

Color values

HEX#FEFA6B
RGBrgb(254, 250, 107)
HSLhsl(58, 99%, 71%)
HSVhsv(58, 58%, 100%)
CMYKcmyk(0%, 1.6%, 57.9%, 0.4%)
CIE-LABlab(96.21, -16.10, 67.37)
CIE-LCHlch(96.21, 69.27, 103.44°)
OKLaboklab(96.17% -0.0491 0.155)
OKLCHoklch(96.17% 0.163 107.6)
XYZxyz(77.7149, 90.5059, 27.2827)
Luminance0.9050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFA6B #6B6FFE
analogous
#FEB06B #FEFA6B #B9FE6B
triadic
#FEFA6B #6BFEFA #FA6BFE
tetradic
#FEFA6B #6BFEB0 #6B6FFE #FE6BB9
square
#FEFA6B #6BFEB0 #6B6FFE #FE6BB9
split-complementary
#FEFA6B #6BB9FE #B06BFE
monochromatic
#EDE702 #FEF82E #FEFA6B #FEFCA8 #FFFEE1

Accessibility & contrast

On white

1.10
#FEFA6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.10
#FEFA6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFA6B
19.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFA6B#FFFFFF#000000##000000
##FEFA6B1.001.1019.1019.10
#FFFFFF1.101.0021.0021.00
#00000019.1021.001.001.00
##00000019.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF15B
Deuteranopia (green-blind)
#FFF773
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fefa6b;
/* rgb */ color: rgb(254, 250, 107);
/* oklch */ color: oklch(96.2% 0.163 107.6);
Tailwind
colors: {
  custom: {
    50: '#fffb9a',
    500: '#fefa6b',
    950: '#000000',
  },
}
SCSS
$custom: #fefa6b;
$custom-light: #fffb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#fefa6b",
  "rgb": {
    "r": 254,
    "g": 250,
    "b": 107
  },
  "hsl": {
    "h": 58.367,
    "s": 98.658,
    "l": 70.784
  },
  "oklch": {
    "l": 0.96173,
    "c": 0.16257,
    "h": 107.6
  },
  "luminance": 0.90504
}

Semantic roles & 50–950 ramp

primary
#FEFA6B
secondary
#3338DA
accent
#06E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FEFA6B

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

Preview Lab → · Contrast checker → · Palette generator →

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