#FEF37B#FEF37B

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

Color values

HEX#FEF37B
RGBrgb(254, 243, 123)
HSLhsl(55, 98%, 74%)
HSVhsv(55, 52%, 100%)
CMYKcmyk(0%, 4.3%, 51.6%, 0.4%)
CIE-LABlab(94.57, -11.50, 58.47)
CIE-LCHlch(94.57, 59.59, 101.12°)
OKLaboklab(94.92% -0.0343 0.1376)
OKLCHoklch(94.92% 0.142 104)
XYZxyz(76.5010, 86.6045, 31.4216)
Luminance0.8660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF37B #7B86FE
analogous
#FEB27B #FEF37B #C8FE7B
triadic
#FEF37B #7BFEF3 #F37BFE
tetradic
#FEF37B #7BFEB2 #7B86FE #FE7BC8
square
#FEF37B #7BFEB2 #7B86FE #FE7BC8
split-complementary
#FEF37B #7BC8FE #B27BFE
monochromatic
#FDE802 #FEED3E #FEF37B #FEF9B8 #FFFCE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FEF37B#FFFFFF#000000##000000
##FEF37B1.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)
#FFEC70
Deuteranopia (green-blind)
#FFF281
Tritanopia (blue-blind)
#FFE5D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fef37b;
/* rgb */ color: rgb(254, 243, 123);
/* oklch */ color: oklch(94.9% 0.142 104.0);
Tailwind
colors: {
  custom: {
    50: '#fff6a4',
    500: '#fef37b',
    950: '#000000',
  },
}
SCSS
$custom: #fef37b;
$custom-light: #fff6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#fef37b",
  "rgb": {
    "r": 254,
    "g": 243,
    "b": 123
  },
  "hsl": {
    "h": 54.962,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.94921,
    "c": 0.14179,
    "h": 104
  },
  "luminance": 0.86602
}

Semantic roles & 50–950 ramp

primary
#FEF37B
secondary
#414EDC
accent
#13E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF37B

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

Preview Lab → · Contrast checker → · Palette generator →

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