#FEF68A#FEF68A

#FEF68A is a very light, vivid yellow. Relative luminance 0.888; OKLCH L 95.7% C 0.130 H 104.8°. Best body text is #000000 at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#FEF68A
RGBrgb(254, 246, 138)
HSLhsl(56, 98%, 77%)
HSVhsv(56, 46%, 100%)
CMYKcmyk(0%, 3.1%, 45.7%, 0.4%)
CIE-LABlab(95.50, -11.67, 52.62)
CIE-LCHlch(95.50, 53.90, 102.51°)
OKLaboklab(95.72% -0.0334 0.126)
OKLCHoklch(95.72% 0.13 104.8)
XYZxyz(78.4181, 88.8195, 37.0529)
Luminance0.8882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF68A #8A92FE
analogous
#FEBC8A #FEF68A #CCFE8A
triadic
#FEF68A #8AFEF6 #F68AFE
tetradic
#FEF68A #8AFEBC #8A92FE #FE8ACC
square
#FEF68A #8AFEBC #8A92FE #FE8ACC
split-complementary
#FEF68A #8ACCFE #BC8AFE
monochromatic
#FDED11 #FDF14D #FEF68A #FFFBC7 #FFFDE1

Accessibility & contrast

On white

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

On black

18.76
#FEF68A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF68A
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF68A#FFFFFF#000000##000000
##FEF68A1.001.1218.7618.76
#FFFFFF1.121.0021.0021.00
#00000018.7621.001.001.00
##00000018.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF81
Deuteranopia (green-blind)
#FFF58F
Tritanopia (blue-blind)
#FFE9DC
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fef68a;
/* rgb */ color: rgb(254, 246, 138);
/* oklch */ color: oklch(95.7% 0.130 104.8);
Tailwind
colors: {
  custom: {
    50: '#fff9ae',
    500: '#fef68a',
    950: '#000000',
  },
}
SCSS
$custom: #fef68a;
$custom-light: #fff9ae;
$custom-dark: #000000;
JSON
{
  "hex": "#fef68a",
  "rgb": {
    "r": 254,
    "g": 246,
    "b": 138
  },
  "hsl": {
    "h": 55.862,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.95719,
    "c": 0.1303,
    "h": 104.8
  },
  "luminance": 0.88817
}

Semantic roles & 50–950 ramp

primary
#FEF68A
secondary
#4E58DE
accent
#10E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEF68A

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

Preview Lab → · Contrast checker → · Palette generator →

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