#FEFE6B#FEFE6B

#FEFE6B is a very light, vivid yellow. Relative luminance 0.930; OKLCH L 97.0% C 0.167 H 109.1°. Best body text is #000000 at 19.60:1 contrast (WCAG AA passes).

Color values

HEX#FEFE6B
RGBrgb(254, 254, 107)
HSLhsl(60, 99%, 71%)
HSVhsv(60, 58%, 100%)
CMYKcmyk(0%, 0%, 57.9%, 0.4%)
CIE-LABlab(97.23, -18.03, 68.50)
CIE-LCHlch(97.23, 70.84, 104.75°)
OKLaboklab(96.99% -0.0546 0.1574)
OKLCHoklch(96.99% 0.167 109.1)
XYZxyz(78.9710, 93.0181, 27.7014)
Luminance0.9302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFE6B #6B6BFE
analogous
#FEB46B #FEFE6B #B4FE6B
triadic
#FEFE6B #6BFEFE #FE6BFE
tetradic
#FEFE6B #6BFEB4 #6B6BFE #FE6BB4
square
#FEFE6B #6BFEB4 #6B6BFE #FE6BB4
split-complementary
#FEFE6B #6BB4FE #B46BFE
monochromatic
#EDED02 #FEFE2E #FEFE6B #FEFEA8 #FFFFE1

Accessibility & contrast

On white

1.07
#FEFE6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.60
#FEFE6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFE6B
19.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFE6B#FFFFFF#000000##000000
##FEFE6B1.001.0719.6019.60
#FFFFFF1.071.0021.0021.00
#00000019.6021.001.001.00
##00000019.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF45A
Deuteranopia (green-blind)
#FFF974
Tritanopia (blue-blind)
#FFEFDF
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fefe6b;
/* rgb */ color: rgb(254, 254, 107);
/* oklch */ color: oklch(97.0% 0.167 109.1);
Tailwind
colors: {
  custom: {
    50: '#fffe9b',
    500: '#fefe6b',
    950: '#000000',
  },
}
SCSS
$custom: #fefe6b;
$custom-light: #fffe9b;
$custom-dark: #000000;
JSON
{
  "hex": "#fefe6b",
  "rgb": {
    "r": 254,
    "g": 254,
    "b": 107
  },
  "hsl": {
    "h": 60,
    "s": 98.658,
    "l": 70.784
  },
  "oklch": {
    "l": 0.96993,
    "c": 0.16658,
    "h": 109.1
  },
  "luminance": 0.93016
}

Semantic roles & 50–950 ramp

primary
#FEFE6B
secondary
#3333DA
accent
#00E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FEFE6B

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

Preview Lab → · Contrast checker → · Palette generator →

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