#FEF468#FEF468

#FEF468 is a very light, vivid yellow. Relative luminance 0.868; OKLCH L 94.9% C 0.159 H 105.2°. Best body text is #000000 at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#FEF468
RGBrgb(254, 244, 104)
HSLhsl(56, 99%, 70%)
HSVhsv(56, 59%, 100%)
CMYKcmyk(0%, 3.9%, 59.1%, 0.4%)
CIE-LABlab(94.64, -13.38, 66.92)
CIE-LCHlch(94.64, 68.24, 101.31°)
OKLaboklab(94.92% -0.0417 0.1536)
OKLCHoklch(94.92% 0.159 105.2)
XYZxyz(75.7250, 86.7742, 25.8542)
Luminance0.8677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF468 #6872FE
analogous
#FEA968 #FEF468 #BDFE68
triadic
#FEF468 #68FEF4 #F468FE
tetradic
#FEF468 #68FEA9 #6872FE #FE68BD
square
#FEF468 #68FEA9 #6872FE #FE68BD
split-complementary
#FEF468 #68BDFE #A968FE
monochromatic
#EADB02 #FEF02B #FEF468 #FEF8A5 #FFFDE1

Accessibility & contrast

On white

1.14
#FEF468 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.35
#FEF468 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF468
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF468#FFFFFF#000000##000000
##FEF4681.001.1418.3518.35
#FFFFFF1.141.0021.0021.00
#00000018.3521.001.001.00
##00000018.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC58
Deuteranopia (green-blind)
#FFF370
Tritanopia (blue-blind)
#FFE5D6
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fef468;
/* rgb */ color: rgb(254, 244, 104);
/* oklch */ color: oklch(94.9% 0.159 105.2);
Tailwind
colors: {
  custom: {
    50: '#fff798',
    500: '#fef468',
    950: '#000000',
  },
}
SCSS
$custom: #fef468;
$custom-light: #fff798;
$custom-dark: #000000;
JSON
{
  "hex": "#fef468",
  "rgb": {
    "r": 254,
    "g": 244,
    "b": 104
  },
  "hsl": {
    "h": 56,
    "s": 98.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.9492,
    "c": 0.15919,
    "h": 105.2
  },
  "luminance": 0.86772
}

Semantic roles & 50–950 ramp

primary
#FEF468
secondary
#313CD9
accent
#0FE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FEF468

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

Preview Lab → · Contrast checker → · Palette generator →

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