#FEF36F#FEF36F

#FEF36F is a very light, vivid yellow. Relative luminance 0.863; OKLCH L 94.8% C 0.152 H 104.5°. Best body text is #000000 at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#FEF36F
RGBrgb(254, 243, 111)
HSLhsl(55, 99%, 72%)
HSVhsv(55, 56%, 100%)
CMYKcmyk(0%, 4.3%, 56.3%, 0.4%)
CIE-LABlab(94.45, -12.41, 63.70)
CIE-LCHlch(94.45, 64.89, 101.03°)
OKLaboklab(94.79% -0.0382 0.1476)
OKLCHoklch(94.79% 0.152 104.5)
XYZxyz(75.7953, 86.3223, 27.7051)
Luminance0.8632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF36F #6F7AFE
analogous
#FEAC6F #FEF36F #C1FE6F
triadic
#FEF36F #6FFEF3 #F36FFE
tetradic
#FEF36F #6FFEAC #6F7AFE #FE6FC1
square
#FEF36F #6FFEAC #6F7AFE #FE6FC1
split-complementary
#FEF36F #6FC1FE #AC6FFE
monochromatic
#F1DF02 #FEEE32 #FEF36F #FEF8AC #FFFCE1

Accessibility & contrast

On white

1.15
#FEF36F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.26
#FEF36F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF36F
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF36F#FFFFFF#000000##000000
##FEF36F1.001.1518.2618.26
#FFFFFF1.151.0021.0021.00
#00000018.2621.001.001.00
##00000018.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB61
Deuteranopia (green-blind)
#FFF276
Tritanopia (blue-blind)
#FFE5D6
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fef36f;
/* rgb */ color: rgb(254, 243, 111);
/* oklch */ color: oklch(94.8% 0.152 104.5);
Tailwind
colors: {
  custom: {
    50: '#fff69c',
    500: '#fef36f',
    950: '#000000',
  },
}
SCSS
$custom: #fef36f;
$custom-light: #fff69c;
$custom-dark: #000000;
JSON
{
  "hex": "#fef36f",
  "rgb": {
    "r": 254,
    "g": 243,
    "b": 111
  },
  "hsl": {
    "h": 55.385,
    "s": 98.621,
    "l": 71.569
  },
  "oklch": {
    "l": 0.94787,
    "c": 0.15246,
    "h": 104.5
  },
  "luminance": 0.8632
}

Semantic roles & 50–950 ramp

primary
#FEF36F
secondary
#3743DA
accent
#12E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF36F

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

Preview Lab → · Contrast checker → · Palette generator →

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