#FEF39F#FEF39F

#FEF39F is a very light, moderate yellow. Relative luminance 0.877; OKLCH L 95.4% C 0.105 H 101.7°. Best body text is #000000 at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#FEF39F
RGBrgb(254, 243, 159)
HSLhsl(53, 98%, 81%)
HSVhsv(53, 37%, 100%)
CMYKcmyk(0%, 4.3%, 37.4%, 0.4%)
CIE-LABlab(95.02, -8.08, 41.85)
CIE-LCHlch(95.02, 42.62, 100.93°)
OKLaboklab(95.43% -0.0213 0.1028)
OKLCHoklch(95.43% 0.105 101.7)
XYZxyz(79.1829, 87.6773, 45.5464)
Luminance0.8768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF39F #9FAAFE
analogous
#FEC39F #FEF39F #D9FE9F
triadic
#FEF39F #9FFEF3 #F39FFE
tetradic
#FEF39F #9FFEC3 #9FAAFE #FE9FD9
square
#FEF39F #9FFEC3 #9FAAFE #FE9FD9
split-complementary
#FEF39F #9FD9FE #C39FFE
monochromatic
#FDE426 #FDEB62 #FEF39F #FFFBDC #FFFBE1

Accessibility & contrast

On white

1.13
#FEF39F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.54
#FEF39F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF39F
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF39F#FFFFFF#000000##000000
##FEF39F1.001.1318.5418.54
#FFFFFF1.131.0021.0021.00
#00000018.5421.001.001.00
##00000018.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE99
Deuteranopia (green-blind)
#FFF3A2
Tritanopia (blue-blind)
#FFE8DE
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fef39f;
/* rgb */ color: rgb(254, 243, 159);
/* oklch */ color: oklch(95.4% 0.105 101.7);
Tailwind
colors: {
  custom: {
    50: '#fff6bc',
    500: '#fef39f',
    950: '#000000',
  },
}
SCSS
$custom: #fef39f;
$custom-light: #fff6bc;
$custom-dark: #000000;
JSON
{
  "hex": "#fef39f",
  "rgb": {
    "r": 254,
    "g": 243,
    "b": 159
  },
  "hsl": {
    "h": 53.053,
    "s": 97.938,
    "l": 80.98
  },
  "oklch": {
    "l": 0.9543,
    "c": 0.10496,
    "h": 101.7
  },
  "luminance": 0.87675
}

Semantic roles & 50–950 ramp

primary
#FEF39F
secondary
#606FE1
accent
#1BE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181712
muted
#868582

Preview Lab

Preview with #FEF39F

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

Preview Lab → · Contrast checker → · Palette generator →

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