#FEF361#FEF361

#FEF361 is a very light, vivid yellow. Relative luminance 0.860; OKLCH L 94.7% C 0.164 H 105.0°. Best body text is #000000 at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#FEF361
RGBrgb(254, 243, 97)
HSLhsl(56, 99%, 69%)
HSVhsv(56, 62%, 100%)
CMYKcmyk(0%, 4.3%, 61.8%, 0.4%)
CIE-LABlab(94.33, -13.34, 69.48)
CIE-LCHlch(94.33, 70.75, 100.87°)
OKLaboklab(94.65% -0.0424 0.1581)
OKLCHoklch(94.65% 0.164 105)
XYZxyz(75.0840, 86.0377, 23.9588)
Luminance0.8603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF361 #616CFE
analogous
#FEA561 #FEF361 #BBFE61
triadic
#FEF361 #61FEF3 #F361FE
tetradic
#FEF361 #61FEA5 #616CFE #FE61BB
square
#FEF361 #61FEA5 #616CFE #FE61BB
split-complementary
#FEF361 #61BBFE #A561FE
monochromatic
#E3D301 #FEEE24 #FEF361 #FEF89E #FFFCDB

Accessibility & contrast

On white

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

On black

18.21
#FEF361 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF361
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF361#FFFFFF#000000##000000
##FEF3611.001.1518.2118.21
#FFFFFF1.151.0021.0021.00
#00000018.2121.001.001.00
##00000018.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB4F
Deuteranopia (green-blind)
#FFF269
Tritanopia (blue-blind)
#FFE4D4
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fef361;
/* rgb */ color: rgb(254, 243, 97);
/* oklch */ color: oklch(94.7% 0.164 105.0);
Tailwind
colors: {
  custom: {
    50: '#fff694',
    500: '#fef361',
    950: '#000000',
  },
}
SCSS
$custom: #fef361;
$custom-light: #fff694;
$custom-dark: #000000;
JSON
{
  "hex": "#fef361",
  "rgb": {
    "r": 254,
    "g": 243,
    "b": 97
  },
  "hsl": {
    "h": 55.796,
    "s": 98.742,
    "l": 68.824
  },
  "oklch": {
    "l": 0.94651,
    "c": 0.1637,
    "h": 105
  },
  "luminance": 0.86035
}

Semantic roles & 50–950 ramp

primary
#FEF361
secondary
#2B37D8
accent
#10E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#19170E
muted
#87857F

Preview Lab

Preview with #FEF361

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

Preview Lab → · Contrast checker → · Palette generator →

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