#FEF592#FEF592

#FEF592 is a very light, vivid yellow. Relative luminance 0.885; OKLCH L 95.6% C 0.121 H 103.9°. Best body text is #000000 at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#FEF592
RGBrgb(254, 245, 146)
HSLhsl(55, 98%, 78%)
HSVhsv(55, 43%, 100%)
CMYKcmyk(0%, 3.5%, 42.5%, 0.4%)
CIE-LABlab(95.35, -10.42, 48.61)
CIE-LCHlch(95.35, 49.71, 102.10°)
OKLaboklab(95.63% -0.0291 0.1175)
OKLCHoklch(95.63% 0.121 103.9)
XYZxyz(78.7154, 88.4531, 40.1152)
Luminance0.8845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF592 #929BFE
analogous
#FEBF92 #FEF592 #D1FE92
triadic
#FEF592 #92FEF5 #F592FE
tetradic
#FEF592 #92FEBF #929BFE #FE92D1
square
#FEF592 #92FEBF #929BFE #FE92D1
split-complementary
#FEF592 #92D1FE #BF92FE
monochromatic
#FDEA19 #FDEF55 #FEF592 #FFFBCF #FFFCE1

Accessibility & contrast

On white

1.12
#FEF592 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.69
#FEF592 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF592
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF592#FFFFFF#000000##000000
##FEF5921.001.1218.6918.69
#FFFFFF1.121.0021.0021.00
#00000018.6921.001.001.00
##00000018.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF8A
Deuteranopia (green-blind)
#FFF496
Tritanopia (blue-blind)
#FFE9DD
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fef592;
/* rgb */ color: rgb(254, 245, 146);
/* oklch */ color: oklch(95.6% 0.121 103.9);
Tailwind
colors: {
  custom: {
    50: '#fff8b3',
    500: '#fef592',
    950: '#000000',
  },
}
SCSS
$custom: #fef592;
$custom-light: #fff8b3;
$custom-dark: #000000;
JSON
{
  "hex": "#fef592",
  "rgb": {
    "r": 254,
    "g": 245,
    "b": 146
  },
  "hsl": {
    "h": 55,
    "s": 98.182,
    "l": 78.431
  },
  "oklch": {
    "l": 0.9563,
    "c": 0.12105,
    "h": 103.9
  },
  "luminance": 0.88451
}

Semantic roles & 50–950 ramp

primary
#FEF592
secondary
#5560DF
accent
#13E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEF592

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

Preview Lab → · Contrast checker → · Palette generator →

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