#FEF37F#FEF37F

#FEF37F is a very light, vivid yellow. Relative luminance 0.867; OKLCH L 95.0% C 0.138 H 103.8°. Best body text is #000000 at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#FEF37F
RGBrgb(254, 243, 127)
HSLhsl(55, 98%, 75%)
HSVhsv(55, 50%, 100%)
CMYKcmyk(0%, 4.3%, 50%, 0.4%)
CIE-LABlab(94.61, -11.17, 56.69)
CIE-LCHlch(94.61, 57.78, 101.14°)
OKLaboklab(94.97% -0.033 0.134)
OKLCHoklch(94.97% 0.138 103.8)
XYZxyz(76.7565, 86.7067, 32.7674)
Luminance0.8670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF37F #7F8AFE
analogous
#FEB37F #FEF37F #CAFE7F
triadic
#FEF37F #7FFEF3 #F37FFE
tetradic
#FEF37F #7FFEB3 #7F8AFE #FE7FCA
square
#FEF37F #7FFEB3 #7F8AFE #FE7FCA
split-complementary
#FEF37F #7FCAFE #B37FFE
monochromatic
#FDE806 #FEED42 #FEF37F #FEF9BC #FFFCE1

Accessibility & contrast

On white

1.14
#FEF37F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.34
#FEF37F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF37F
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF37F#FFFFFF#000000##000000
##FEF37F1.001.1418.3418.34
#FFFFFF1.141.0021.0021.00
#00000018.3421.001.001.00
##00000018.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC75
Deuteranopia (green-blind)
#FFF284
Tritanopia (blue-blind)
#FFE6D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fef37f;
/* rgb */ color: rgb(254, 243, 127);
/* oklch */ color: oklch(95.0% 0.138 103.8);
Tailwind
colors: {
  custom: {
    50: '#fff6a7',
    500: '#fef37f',
    950: '#000000',
  },
}
SCSS
$custom: #fef37f;
$custom-light: #fff6a7;
$custom-dark: #000000;
JSON
{
  "hex": "#fef37f",
  "rgb": {
    "r": 254,
    "g": 243,
    "b": 127
  },
  "hsl": {
    "h": 54.803,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.9497,
    "c": 0.13804,
    "h": 103.8
  },
  "luminance": 0.86704
}

Semantic roles & 50–950 ramp

primary
#FEF37F
secondary
#4552DD
accent
#14E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #FEF37F

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

Preview Lab → · Contrast checker → · Palette generator →

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