#FEF67B#FEF67B

#FEF67B is a very light, vivid yellow. Relative luminance 0.884; OKLCH L 95.5% C 0.145 H 105.4°. Best body text is #000000 at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#FEF67B
RGBrgb(254, 246, 123)
HSLhsl(56, 98%, 74%)
HSVhsv(56, 52%, 100%)
CMYKcmyk(0%, 3.1%, 51.6%, 0.4%)
CIE-LABlab(95.34, -12.97, 59.37)
CIE-LCHlch(95.34, 60.77, 102.32°)
OKLaboklab(95.53% -0.0386 0.1395)
OKLCHoklch(95.53% 0.145 105.4)
XYZxyz(77.4061, 88.4148, 31.7233)
Luminance0.8841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF67B #7B83FE
analogous
#FEB57B #FEF67B #C5FE7B
triadic
#FEF67B #7BFEF6 #F67BFE
tetradic
#FEF67B #7BFEB5 #7B83FE #FE7BC5
square
#FEF67B #7BFEB5 #7B83FE #FE7BC5
split-complementary
#FEF67B #7BC5FE #B57BFE
monochromatic
#FDED02 #FEF23E #FEF67B #FEFAB8 #FFFDE1

Accessibility & contrast

On white

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

On black

18.68
#FEF67B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF67B
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF67B#FFFFFF#000000##000000
##FEF67B1.001.1218.6818.68
#FFFFFF1.121.0021.0021.00
#00000018.6821.001.001.00
##00000018.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE6F
Deuteranopia (green-blind)
#FFF481
Tritanopia (blue-blind)
#FFE8DA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fef67b;
/* rgb */ color: rgb(254, 246, 123);
/* oklch */ color: oklch(95.5% 0.145 105.4);
Tailwind
colors: {
  custom: {
    50: '#fff9a4',
    500: '#fef67b',
    950: '#000000',
  },
}
SCSS
$custom: #fef67b;
$custom-light: #fff9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#fef67b",
  "rgb": {
    "r": 254,
    "g": 246,
    "b": 123
  },
  "hsl": {
    "h": 56.336,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.95529,
    "c": 0.14475,
    "h": 105.4
  },
  "luminance": 0.88412
}

Semantic roles & 50–950 ramp

primary
#FEF67B
secondary
#414BDC
accent
#0EE600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF67B

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

Preview Lab → · Contrast checker → · Palette generator →

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