#FEF67C#FEF67C

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

Color values

HEX#FEF67C
RGBrgb(254, 246, 124)
HSLhsl(56, 98%, 74%)
HSVhsv(56, 51%, 100%)
CMYKcmyk(0%, 3.1%, 51.2%, 0.4%)
CIE-LABlab(95.35, -12.89, 58.93)
CIE-LCHlch(95.35, 60.32, 102.33°)
OKLaboklab(95.54% -0.0382 0.1387)
OKLCHoklch(95.54% 0.144 105.4)
XYZxyz(77.4690, 88.4399, 32.0547)
Luminance0.8844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF67C #7C84FE
analogous
#FEB57C #FEF67C #C5FE7C
triadic
#FEF67C #7CFEF6 #F67CFE
tetradic
#FEF67C #7CFEB5 #7C84FE #FE7CC5
square
#FEF67C #7CFEB5 #7C84FE #FE7CC5
split-complementary
#FEF67C #7CC5FE #B57CFE
monochromatic
#FDEE03 #FEF23F #FEF67C #FEFAB9 #FFFDE1

Accessibility & contrast

On white

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

On black

18.69
#FEF67C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF67C
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF67C#FFFFFF#000000##000000
##FEF67C1.001.1218.6918.69
#FFFFFF1.121.0021.0021.00
#00000018.6921.001.001.00
##00000018.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fef67c;
/* rgb */ color: rgb(254, 246, 124);
/* oklch */ color: oklch(95.5% 0.144 105.4);
Tailwind
colors: {
  custom: {
    50: '#fff9a5',
    500: '#fef67c',
    950: '#000000',
  },
}
SCSS
$custom: #fef67c;
$custom-light: #fff9a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fef67c",
  "rgb": {
    "r": 254,
    "g": 246,
    "b": 124
  },
  "hsl": {
    "h": 56.308,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.95541,
    "c": 0.14382,
    "h": 105.4
  },
  "luminance": 0.88438
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FEF67C

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

Preview Lab → · Contrast checker → · Palette generator →

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