#FEF382#FEF382

#FEF382 is a very light, vivid yellow. Relative luminance 0.868; OKLCH L 95.0% C 0.135 H 103.7°. Best body text is #000000 at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#FEF382
RGBrgb(254, 243, 130)
HSLhsl(55, 98%, 75%)
HSVhsv(55, 49%, 100%)
CMYKcmyk(0%, 4.3%, 48.8%, 0.4%)
CIE-LABlab(94.65, -10.91, 55.34)
CIE-LCHlch(94.65, 56.40, 101.15°)
OKLaboklab(95.01% -0.032 0.1313)
OKLCHoklch(95.01% 0.135 103.7)
XYZxyz(76.9550, 86.7861, 33.8124)
Luminance0.8678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF382 #828DFE
analogous
#FEB582 #FEF382 #CBFE82
triadic
#FEF382 #82FEF3 #F382FE
tetradic
#FEF382 #82FEB5 #828DFE #FE82CB
square
#FEF382 #82FEB5 #828DFE #FE82CB
split-complementary
#FEF382 #82CBFE #B582FE
monochromatic
#FDE709 #FEED45 #FEF382 #FEF9BF #FFFCE1

Accessibility & contrast

On white

1.14
#FEF382 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.36
#FEF382 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF382
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF382#FFFFFF#000000##000000
##FEF3821.001.1418.3618.36
#FFFFFF1.141.0021.0021.00
#00000018.3621.001.001.00
##00000018.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC78
Deuteranopia (green-blind)
#FFF287
Tritanopia (blue-blind)
#FFE6D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fef382;
/* rgb */ color: rgb(254, 243, 130);
/* oklch */ color: oklch(95.0% 0.135 103.7);
Tailwind
colors: {
  custom: {
    50: '#fff6a9',
    500: '#fef382',
    950: '#000000',
  },
}
SCSS
$custom: #fef382;
$custom-light: #fff6a9;
$custom-dark: #000000;
JSON
{
  "hex": "#fef382",
  "rgb": {
    "r": 254,
    "g": 243,
    "b": 130
  },
  "hsl": {
    "h": 54.677,
    "s": 98.413,
    "l": 75.294
  },
  "oklch": {
    "l": 0.95008,
    "c": 0.13516,
    "h": 103.7
  },
  "luminance": 0.86784
}

Semantic roles & 50–950 ramp

primary
#FEF382
secondary
#4754DD
accent
#14E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEF382

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

Preview Lab → · Contrast checker → · Palette generator →

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