#FEF37A#FEF37A

#FEF37A is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.9% C 0.143 H 104.1°. Best body text is #000000 at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#FEF37A
RGBrgb(254, 243, 122)
HSLhsl(55, 99%, 74%)
HSVhsv(55, 52%, 100%)
CMYKcmyk(0%, 4.3%, 52%, 0.4%)
CIE-LABlab(94.56, -11.58, 58.92)
CIE-LCHlch(94.56, 60.04, 101.12°)
OKLaboklab(94.91% -0.0347 0.1384)
OKLCHoklch(94.91% 0.143 104.1)
XYZxyz(76.4387, 86.5796, 31.0936)
Luminance0.8658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF37A #7A85FE
analogous
#FEB17A #FEF37A #C7FE7A
triadic
#FEF37A #7AFEF3 #F37AFE
tetradic
#FEF37A #7AFEB1 #7A85FE #FE7AC7
square
#FEF37A #7AFEB1 #7A85FE #FE7AC7
split-complementary
#FEF37A #7AC7FE #B17AFE
monochromatic
#FCE702 #FEEE3D #FEF37A #FEF8B7 #FFFCE1

Accessibility & contrast

On white

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

On black

18.32
#FEF37A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF37A
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF37A#FFFFFF#000000##000000
##FEF37A1.001.1518.3218.32
#FFFFFF1.151.0021.0021.00
#00000018.3221.001.001.00
##00000018.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6F
Deuteranopia (green-blind)
#FFF280
Tritanopia (blue-blind)
#FFE5D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fef37a;
/* rgb */ color: rgb(254, 243, 122);
/* oklch */ color: oklch(94.9% 0.143 104.1);
Tailwind
colors: {
  custom: {
    50: '#fff6a3',
    500: '#fef37a',
    950: '#000000',
  },
}
SCSS
$custom: #fef37a;
$custom-light: #fff6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fef37a",
  "rgb": {
    "r": 254,
    "g": 243,
    "b": 122
  },
  "hsl": {
    "h": 55,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.9491,
    "c": 0.14272,
    "h": 104.1
  },
  "luminance": 0.86577
}

Semantic roles & 50–950 ramp

primary
#FEF37A
secondary
#404DDC
accent
#13E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF37A

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

Preview Lab → · Contrast checker → · Palette generator →

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