#FEF37C#FEF37C

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

Color values

HEX#FEF37C
RGBrgb(254, 243, 124)
HSLhsl(55, 98%, 74%)
HSVhsv(55, 51%, 100%)
CMYKcmyk(0%, 4.3%, 51.2%, 0.4%)
CIE-LABlab(94.58, -11.41, 58.03)
CIE-LCHlch(94.58, 59.14, 101.13°)
OKLaboklab(94.93% -0.034 0.1367)
OKLCHoklch(94.93% 0.141 104)
XYZxyz(76.5639, 86.6297, 31.7530)
Luminance0.8663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF37C #7C87FE
analogous
#FEB27C #FEF37C #C8FE7C
triadic
#FEF37C #7CFEF3 #F37CFE
tetradic
#FEF37C #7CFEB2 #7C87FE #FE7CC8
square
#FEF37C #7CFEB2 #7C87FE #FE7CC8
split-complementary
#FEF37C #7CC8FE #B27CFE
monochromatic
#FDE803 #FEED3F #FEF37C #FEF9B9 #FFFCE1

Accessibility & contrast

On white

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

On black

18.33
#FEF37C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF37C
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF37C#FFFFFF#000000##000000
##FEF37C1.001.1518.3318.33
#FFFFFF1.151.0021.0021.00
#00000018.3321.001.001.00
##00000018.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fef37c;
/* rgb */ color: rgb(254, 243, 124);
/* oklch */ color: oklch(94.9% 0.141 104.0);
Tailwind
colors: {
  custom: {
    50: '#fff6a5',
    500: '#fef37c',
    950: '#000000',
  },
}
SCSS
$custom: #fef37c;
$custom-light: #fff6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fef37c",
  "rgb": {
    "r": 254,
    "g": 243,
    "b": 124
  },
  "hsl": {
    "h": 54.923,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.94933,
    "c": 0.14087,
    "h": 104
  },
  "luminance": 0.86627
}

Semantic roles & 50–950 ramp

primary
#FEF37C
secondary
#424FDC
accent
#13E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF37C

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

Preview Lab → · Contrast checker → · Palette generator →

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