#FEF065#FEF065

#FEF065 is a very light, vivid yellow. Relative luminance 0.843; OKLCH L 94.1% C 0.158 H 103.6°. Best body text is #000000 at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#FEF065
RGBrgb(254, 240, 101)
HSLhsl(55, 99%, 70%)
HSVhsv(55, 60%, 100%)
CMYKcmyk(0%, 5.5%, 60.2%, 0.4%)
CIE-LABlab(93.60, -11.62, 67.03)
CIE-LCHlch(93.60, 68.03, 99.84°)
OKLaboklab(94.08% -0.037 0.1535)
OKLCHoklch(94.08% 0.158 103.6)
XYZxyz(74.3848, 84.3333, 24.6691)
Luminance0.8433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF065 #6573FE
analogous
#FEA465 #FEF065 #BFFE65
triadic
#FEF065 #65FEF0 #F065FE
tetradic
#FEF065 #65FEA4 #6573FE #FE65BF
square
#FEF065 #65FEA4 #6573FE #FE65BF
split-complementary
#FEF065 #65BFFE #A465FE
monochromatic
#E7D202 #FEEA28 #FEF065 #FEF6A2 #FFFCDF

Accessibility & contrast

On white

1.18
#FEF065 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.87
#FEF065 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF065
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF065#FFFFFF#000000##000000
##FEF0651.001.1817.8717.87
#FFFFFF1.181.0021.0021.00
#00000017.8721.001.001.00
##00000017.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE955
Deuteranopia (green-blind)
#FFF06D
Tritanopia (blue-blind)
#FFE1D2
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fef065;
/* rgb */ color: rgb(254, 240, 101);
/* oklch */ color: oklch(94.1% 0.158 103.6);
Tailwind
colors: {
  custom: {
    50: '#fff496',
    500: '#fef065',
    950: '#000000',
  },
}
SCSS
$custom: #fef065;
$custom-light: #fff496;
$custom-dark: #000000;
JSON
{
  "hex": "#fef065",
  "rgb": {
    "r": 254,
    "g": 240,
    "b": 101
  },
  "hsl": {
    "h": 54.51,
    "s": 98.71,
    "l": 69.608
  },
  "oklch": {
    "l": 0.94079,
    "c": 0.15788,
    "h": 103.6
  },
  "luminance": 0.84331
}

Semantic roles & 50–950 ramp

primary
#FEF065
secondary
#2E3ED9
accent
#15E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FEF065

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

Preview Lab → · Contrast checker → · Palette generator →

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