#FEF37D#FEF37D

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

Color values

HEX#FEF37D
RGBrgb(254, 243, 125)
HSLhsl(55, 98%, 74%)
HSVhsv(55, 51%, 100%)
CMYKcmyk(0%, 4.3%, 50.8%, 0.4%)
CIE-LABlab(94.59, -11.33, 57.58)
CIE-LCHlch(94.59, 58.69, 101.13°)
OKLaboklab(94.95% -0.0337 0.1358)
OKLCHoklch(94.95% 0.14 103.9)
XYZxyz(76.6275, 86.6551, 32.0877)
Luminance0.8665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF37D #7D88FE
analogous
#FEB37D #FEF37D #C8FE7D
triadic
#FEF37D #7DFEF3 #F37DFE
tetradic
#FEF37D #7DFEB3 #7D88FE #FE7DC8
square
#FEF37D #7DFEB3 #7D88FE #FE7DC8
split-complementary
#FEF37D #7DC8FE #B37DFE
monochromatic
#FDE804 #FEED40 #FEF37D #FEF9BA #FFFCE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FEF37D#FFFFFF#000000##000000
##FEF37D1.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)
#FFEC72
Deuteranopia (green-blind)
#FFF283
Tritanopia (blue-blind)
#FFE5D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fef37d;
/* rgb */ color: rgb(254, 243, 125);
/* oklch */ color: oklch(94.9% 0.140 103.9);
Tailwind
colors: {
  custom: {
    50: '#fff6a5',
    500: '#fef37d',
    950: '#000000',
  },
}
SCSS
$custom: #fef37d;
$custom-light: #fff6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fef37d",
  "rgb": {
    "r": 254,
    "g": 243,
    "b": 125
  },
  "hsl": {
    "h": 54.884,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.94945,
    "c": 0.13993,
    "h": 103.9
  },
  "luminance": 0.86653
}

Semantic roles & 50–950 ramp

primary
#FEF37D
secondary
#4350DC
accent
#14E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF37D

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

Preview Lab → · Contrast checker → · Palette generator →

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