#FEF370#FEF370

#FEF370 is a very light, vivid yellow. Relative luminance 0.863; OKLCH L 94.8% C 0.152 H 104.5°. Best body text is #000000 at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#FEF370
RGBrgb(254, 243, 112)
HSLhsl(55, 99%, 72%)
HSVhsv(55, 56%, 100%)
CMYKcmyk(0%, 4.3%, 55.9%, 0.4%)
CIE-LABlab(94.46, -12.34, 63.27)
CIE-LCHlch(94.46, 64.46, 101.04°)
OKLaboklab(94.8% -0.0379 0.1468)
OKLCHoklch(94.8% 0.152 104.5)
XYZxyz(75.8507, 86.3444, 27.9967)
Luminance0.8634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF370 #707BFE
analogous
#FEAC70 #FEF370 #C2FE70
triadic
#FEF370 #70FEF3 #F370FE
tetradic
#FEF370 #70FEAC #707BFE #FE70C2
square
#FEF370 #70FEAC #707BFE #FE70C2
split-complementary
#FEF370 #70C2FE #AC70FE
monochromatic
#F2DF02 #FEEE33 #FEF370 #FEF8AD #FFFCE1

Accessibility & contrast

On white

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

On black

18.27
#FEF370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF370
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF370#FFFFFF#000000##000000
##FEF3701.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB63
Deuteranopia (green-blind)
#FFF277
Tritanopia (blue-blind)
#FFE5D6
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fef370;
/* rgb */ color: rgb(254, 243, 112);
/* oklch */ color: oklch(94.8% 0.152 104.5);
Tailwind
colors: {
  custom: {
    50: '#fff69d',
    500: '#fef370',
    950: '#000000',
  },
}
SCSS
$custom: #fef370;
$custom-light: #fff69d;
$custom-dark: #000000;
JSON
{
  "hex": "#fef370",
  "rgb": {
    "r": 254,
    "g": 243,
    "b": 112
  },
  "hsl": {
    "h": 55.352,
    "s": 98.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.94798,
    "c": 0.15161,
    "h": 104.5
  },
  "luminance": 0.86342
}

Semantic roles & 50–950 ramp

primary
#FEF370
secondary
#3844DA
accent
#12E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF370

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

Preview Lab → · Contrast checker → · Palette generator →

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