#FEF35F#FEF35F

#FEF35F is a very light, vivid yellow. Relative luminance 0.860; OKLCH L 94.6% C 0.165 H 105.1°. Best body text is #000000 at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#FEF35F
RGBrgb(254, 243, 95)
HSLhsl(56, 99%, 68%)
HSVhsv(56, 63%, 100%)
CMYKcmyk(0%, 4.3%, 62.6%, 0.4%)
CIE-LABlab(94.31, -13.46, 70.27)
CIE-LCHlch(94.31, 71.55, 100.85°)
OKLaboklab(94.63% -0.0429 0.1595)
OKLCHoklch(94.63% 0.165 105.1)
XYZxyz(74.9919, 86.0009, 23.4738)
Luminance0.8600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF35F #5F6AFE
analogous
#FEA35F #FEF35F #B9FE5F
triadic
#FEF35F #5FFEF3 #F35FFE
tetradic
#FEF35F #5FFEA3 #5F6AFE #FE5FB9
square
#FEF35F #5FFEA3 #5F6AFE #FE5FB9
split-complementary
#FEF35F #5FB9FE #A35FFE
monochromatic
#E1D201 #FEEE22 #FEF35F #FEF89C #FFFCD9

Accessibility & contrast

On white

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

On black

18.20
#FEF35F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF35F
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF35F#FFFFFF#000000##000000
##FEF35F1.001.1518.2018.20
#FFFFFF1.151.0021.0021.00
#00000018.2021.001.001.00
##00000018.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB4D
Deuteranopia (green-blind)
#FFF268
Tritanopia (blue-blind)
#FFE4D4
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fef35f;
/* rgb */ color: rgb(254, 243, 95);
/* oklch */ color: oklch(94.6% 0.165 105.1);
Tailwind
colors: {
  custom: {
    50: '#fff693',
    500: '#fef35f',
    950: '#000000',
  },
}
SCSS
$custom: #fef35f;
$custom-light: #fff693;
$custom-dark: #000000;
JSON
{
  "hex": "#fef35f",
  "rgb": {
    "r": 254,
    "g": 243,
    "b": 95
  },
  "hsl": {
    "h": 55.849,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.94634,
    "c": 0.1652,
    "h": 105.1
  },
  "luminance": 0.85998
}

Semantic roles & 50–950 ramp

primary
#FEF35F
secondary
#2935D8
accent
#10E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#19170D
muted
#87857F

Preview Lab

Preview with #FEF35F

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

Preview Lab → · Contrast checker → · Palette generator →

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