#FEF683#FEF683

#FEF683 is a very light, vivid yellow. Relative luminance 0.886; OKLCH L 95.6% C 0.137 H 105.1°. Best body text is #000000 at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#FEF683
RGBrgb(254, 246, 131)
HSLhsl(56, 98%, 75%)
HSVhsv(56, 48%, 100%)
CMYKcmyk(0%, 3.1%, 48.4%, 0.4%)
CIE-LABlab(95.42, -12.30, 55.80)
CIE-LCHlch(95.42, 57.14, 102.43°)
OKLaboklab(95.63% -0.0358 0.1324)
OKLCHoklch(95.63% 0.137 105.1)
XYZxyz(77.9275, 88.6233, 34.4694)
Luminance0.8862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF683 #838BFE
analogous
#FEB983 #FEF683 #C8FE83
triadic
#FEF683 #83FEF6 #F683FE
tetradic
#FEF683 #83FEB9 #838BFE #FE83C8
square
#FEF683 #83FEB9 #838BFE #FE83C8
split-complementary
#FEF683 #83C8FE #B983FE
monochromatic
#FDED0A #FEF246 #FEF683 #FEFAC0 #FFFDE1

Accessibility & contrast

On white

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

On black

18.72
#FEF683 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF683
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF683#FFFFFF#000000##000000
##FEF6831.001.1218.7218.72
#FFFFFF1.121.0021.0021.00
#00000018.7221.001.001.00
##00000018.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fef683;
/* rgb */ color: rgb(254, 246, 131);
/* oklch */ color: oklch(95.6% 0.137 105.1);
Tailwind
colors: {
  custom: {
    50: '#fff9a9',
    500: '#fef683',
    950: '#000000',
  },
}
SCSS
$custom: #fef683;
$custom-light: #fff9a9;
$custom-dark: #000000;
JSON
{
  "hex": "#fef683",
  "rgb": {
    "r": 254,
    "g": 246,
    "b": 131
  },
  "hsl": {
    "h": 56.098,
    "s": 98.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.95627,
    "c": 0.1372,
    "h": 105.1
  },
  "luminance": 0.88621
}

Semantic roles & 50–950 ramp

primary
#FEF683
secondary
#4852DD
accent
#0FE600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEF683

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

Preview Lab → · Contrast checker → · Palette generator →

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