#FEF67F#FEF67F

#FEF67F is a very light, vivid yellow. Relative luminance 0.885; OKLCH L 95.6% C 0.141 H 105.3°. Best body text is #000000 at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#FEF67F
RGBrgb(254, 246, 127)
HSLhsl(56, 98%, 75%)
HSVhsv(56, 50%, 100%)
CMYKcmyk(0%, 3.1%, 50%, 0.4%)
CIE-LABlab(95.38, -12.64, 57.59)
CIE-LCHlch(95.38, 58.97, 102.38°)
OKLaboklab(95.58% -0.0372 0.136)
OKLCHoklch(95.58% 0.141 105.3)
XYZxyz(77.6616, 88.5170, 33.0691)
Luminance0.8851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF67F #7F87FE
analogous
#FEB67F #FEF67F #C7FE7F
triadic
#FEF67F #7FFEF6 #F67FFE
tetradic
#FEF67F #7FFEB6 #7F87FE #FE7FC7
square
#FEF67F #7FFEB6 #7F87FE #FE7FC7
split-complementary
#FEF67F #7FC7FE #B67FFE
monochromatic
#FDED06 #FEF242 #FEF67F #FEFABC #FFFDE1

Accessibility & contrast

On white

1.12
#FEF67F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.70
#FEF67F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF67F
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF67F#FFFFFF#000000##000000
##FEF67F1.001.1218.7018.70
#FFFFFF1.121.0021.0021.00
#00000018.7021.001.001.00
##00000018.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF74
Deuteranopia (green-blind)
#FFF485
Tritanopia (blue-blind)
#FFE9DB
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fef67f;
/* rgb */ color: rgb(254, 246, 127);
/* oklch */ color: oklch(95.6% 0.141 105.3);
Tailwind
colors: {
  custom: {
    50: '#fff9a7',
    500: '#fef67f',
    950: '#000000',
  },
}
SCSS
$custom: #fef67f;
$custom-light: #fff9a7;
$custom-dark: #000000;
JSON
{
  "hex": "#fef67f",
  "rgb": {
    "r": 254,
    "g": 246,
    "b": 127
  },
  "hsl": {
    "h": 56.22,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.95577,
    "c": 0.14102,
    "h": 105.3
  },
  "luminance": 0.88515
}

Semantic roles & 50–950 ramp

primary
#FEF67F
secondary
#454EDD
accent
#0EE600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FEF67F

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

Preview Lab → · Contrast checker → · Palette generator →

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