#FEF36D#FEF36D

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

Color values

HEX#FEF36D
RGBrgb(254, 243, 109)
HSLhsl(55, 99%, 71%)
HSVhsv(55, 57%, 100%)
CMYKcmyk(0%, 4.3%, 57.1%, 0.4%)
CIE-LABlab(94.43, -12.55, 64.54)
CIE-LCHlch(94.43, 65.75, 101.01°)
OKLaboklab(94.77% -0.0388 0.1492)
OKLCHoklch(94.77% 0.154 104.6)
XYZxyz(75.6865, 86.2787, 27.1316)
Luminance0.8628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF36D #6D78FE
analogous
#FEAA6D #FEF36D #C0FE6D
triadic
#FEF36D #6DFEF3 #F36DFE
tetradic
#FEF36D #6DFEAA #6D78FE #FE6DC0
square
#FEF36D #6DFEAA #6D78FE #FE6DC0
split-complementary
#FEF36D #6DC0FE #AA6DFE
monochromatic
#EFDD02 #FEEE30 #FEF36D #FEF8AA #FFFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FEF36D#FFFFFF#000000##000000
##FEF36D1.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)
#FFEB5F
Deuteranopia (green-blind)
#FFF274
Tritanopia (blue-blind)
#FFE4D6
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fef36d;
/* rgb */ color: rgb(254, 243, 109);
/* oklch */ color: oklch(94.8% 0.154 104.6);
Tailwind
colors: {
  custom: {
    50: '#fff69b',
    500: '#fef36d',
    950: '#000000',
  },
}
SCSS
$custom: #fef36d;
$custom-light: #fff69b;
$custom-dark: #000000;
JSON
{
  "hex": "#fef36d",
  "rgb": {
    "r": 254,
    "g": 243,
    "b": 109
  },
  "hsl": {
    "h": 55.448,
    "s": 98.639,
    "l": 71.176
  },
  "oklch": {
    "l": 0.94766,
    "c": 0.15415,
    "h": 104.6
  },
  "luminance": 0.86276
}

Semantic roles & 50–950 ramp

primary
#FEF36D
secondary
#3542DA
accent
#11E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FEF36D

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

Preview Lab → · Contrast checker → · Palette generator →

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