#FEF595#FEF595

#FEF595 is a very light, moderate yellow. Relative luminance 0.885; OKLCH L 95.7% C 0.118 H 103.7°. Best body text is #000000 at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#FEF595
RGBrgb(254, 245, 149)
HSLhsl(55, 98%, 79%)
HSVhsv(55, 41%, 100%)
CMYKcmyk(0%, 3.5%, 41.3%, 0.4%)
CIE-LABlab(95.39, -10.12, 47.21)
CIE-LCHlch(95.39, 48.28, 102.10°)
OKLaboklab(95.67% -0.028 0.1145)
OKLCHoklch(95.67% 0.118 103.7)
XYZxyz(78.9518, 88.5477, 41.3604)
Luminance0.8855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF595 #959EFE
analogous
#FEC195 #FEF595 #D3FE95
triadic
#FEF595 #95FEF5 #F595FE
tetradic
#FEF595 #95FEC1 #959EFE #FE95D3
square
#FEF595 #95FEC1 #959EFE #FE95D3
split-complementary
#FEF595 #95D3FE #C195FE
monochromatic
#FDEA1C #FDEF58 #FEF595 #FFFBD2 #FFFCE1

Accessibility & contrast

On white

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

On black

18.71
#FEF595 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF595
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF595#FFFFFF#000000##000000
##FEF5951.001.1218.7118.71
#FFFFFF1.121.0021.0021.00
#00000018.7121.001.001.00
##00000018.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF8D
Deuteranopia (green-blind)
#FFF499
Tritanopia (blue-blind)
#FFE9DE
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fef595;
/* rgb */ color: rgb(254, 245, 149);
/* oklch */ color: oklch(95.7% 0.118 103.7);
Tailwind
colors: {
  custom: {
    50: '#fff8b5',
    500: '#fef595',
    950: '#000000',
  },
}
SCSS
$custom: #fef595;
$custom-light: #fff8b5;
$custom-dark: #000000;
JSON
{
  "hex": "#fef595",
  "rgb": {
    "r": 254,
    "g": 245,
    "b": 149
  },
  "hsl": {
    "h": 54.857,
    "s": 98.131,
    "l": 79.02
  },
  "oklch": {
    "l": 0.95674,
    "c": 0.11788,
    "h": 103.7
  },
  "luminance": 0.88546
}

Semantic roles & 50–950 ramp

primary
#FEF595
secondary
#5763E0
accent
#14E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEF595

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

Preview Lab → · Contrast checker → · Palette generator →

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