#FEF68B#FEF68B

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

Color values

HEX#FEF68B
RGBrgb(254, 246, 139)
HSLhsl(56, 98%, 77%)
HSVhsv(56, 45%, 100%)
CMYKcmyk(0%, 3.1%, 45.3%, 0.4%)
CIE-LABlab(95.52, -11.58, 52.16)
CIE-LCHlch(95.52, 53.43, 102.52°)
OKLaboklab(95.73% -0.033 0.125)
OKLCHoklch(95.73% 0.129 104.8)
XYZxyz(78.4908, 88.8486, 37.4359)
Luminance0.8885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF68B #8B93FE
analogous
#FEBD8B #FEF68B #CDFE8B
triadic
#FEF68B #8BFEF6 #F68BFE
tetradic
#FEF68B #8BFEBD #8B93FE #FE8BCD
square
#FEF68B #8BFEBD #8B93FE #FE8BCD
split-complementary
#FEF68B #8BCDFE #BD8BFE
monochromatic
#FDED12 #FDF14E #FEF68B #FFFBC8 #FFFDE1

Accessibility & contrast

On white

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

On black

18.77
#FEF68B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF68B
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF68B#FFFFFF#000000##000000
##FEF68B1.001.1218.7718.77
#FFFFFF1.121.0021.0021.00
#00000018.7721.001.001.00
##00000018.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF82
Deuteranopia (green-blind)
#FFF590
Tritanopia (blue-blind)
#FFE9DD
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fef68b;
/* rgb */ color: rgb(254, 246, 139);
/* oklch */ color: oklch(95.7% 0.129 104.8);
Tailwind
colors: {
  custom: {
    50: '#fff9af',
    500: '#fef68b',
    950: '#000000',
  },
}
SCSS
$custom: #fef68b;
$custom-light: #fff9af;
$custom-dark: #000000;
JSON
{
  "hex": "#fef68b",
  "rgb": {
    "r": 254,
    "g": 246,
    "b": 139
  },
  "hsl": {
    "h": 55.826,
    "s": 98.291,
    "l": 77.059
  },
  "oklch": {
    "l": 0.95733,
    "c": 0.12929,
    "h": 104.8
  },
  "luminance": 0.88846
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FEF68B

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

Preview Lab → · Contrast checker → · Palette generator →

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