#FEF39B#FEF39B

#FEF39B is a very light, moderate yellow. Relative luminance 0.875; OKLCH L 95.4% C 0.109 H 102.1°. Best body text is #000000 at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#FEF39B
RGBrgb(254, 243, 155)
HSLhsl(53, 98%, 80%)
HSVhsv(53, 39%, 100%)
CMYKcmyk(0%, 4.3%, 39%, 0.4%)
CIE-LABlab(94.97, -8.51, 43.74)
CIE-LCHlch(94.97, 44.56, 101.01°)
OKLaboklab(95.37% -0.0229 0.1069)
OKLCHoklch(95.37% 0.109 102.1)
XYZxyz(78.8414, 87.5407, 43.7479)
Luminance0.8754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF39B #9BA6FE
analogous
#FEC19B #FEF39B #D8FE9B
triadic
#FEF39B #9BFEF3 #F39BFE
tetradic
#FEF39B #9BFEC1 #9BA6FE #FE9BD8
square
#FEF39B #9BFEC1 #9BA6FE #FE9BD8
split-complementary
#FEF39B #9BD8FE #C19BFE
monochromatic
#FDE422 #FDEC5E #FEF39B #FFFAD8 #FFFBE1

Accessibility & contrast

On white

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

On black

18.51
#FEF39B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF39B
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF39B#FFFFFF#000000##000000
##FEF39B1.001.1318.5118.51
#FFFFFF1.131.0021.0021.00
#00000018.5121.001.001.00
##00000018.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED94
Deuteranopia (green-blind)
#FFF39F
Tritanopia (blue-blind)
#FFE8DD
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fef39b;
/* rgb */ color: rgb(254, 243, 155);
/* oklch */ color: oklch(95.4% 0.109 102.1);
Tailwind
colors: {
  custom: {
    50: '#fff6b9',
    500: '#fef39b',
    950: '#000000',
  },
}
SCSS
$custom: #fef39b;
$custom-light: #fff6b9;
$custom-dark: #000000;
JSON
{
  "hex": "#fef39b",
  "rgb": {
    "r": 254,
    "g": 243,
    "b": 155
  },
  "hsl": {
    "h": 53.333,
    "s": 98.02,
    "l": 80.196
  },
  "oklch": {
    "l": 0.95365,
    "c": 0.10936,
    "h": 102.1
  },
  "luminance": 0.87539
}

Semantic roles & 50–950 ramp

primary
#FEF39B
secondary
#5C6BE1
accent
#1AE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEF39B

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

Preview Lab → · Contrast checker → · Palette generator →

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