#FEF90F#FEF90F

#FEF90F is a very light, highly saturated yellow. Relative luminance 0.889; OKLCH L 95.5% C 0.205 H 108.2°. Best body text is #000000 at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#FEF90F
RGBrgb(254, 249, 15)
HSLhsl(59, 99%, 53%)
HSVhsv(59, 94%, 100%)
CMYKcmyk(0%, 2%, 94.1%, 0.4%)
CIE-LABlab(95.52, -18.99, 92.15)
CIE-LCHlch(95.52, 94.09, 101.64°)
OKLaboklab(95.49% -0.064 0.1943)
OKLCHoklch(95.49% 0.205 108.2)
XYZxyz(74.8383, 88.8594, 13.6613)
Luminance0.8886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF90F #0F14FE
analogous
#FE820F #FEF90F #8BFE0F
triadic
#FEF90F #0FFEF9 #F90FFE
tetradic
#FEF90F #0FFE82 #0F14FE #FE0F8B
square
#FEF90F #0FFE82 #0F14FE #FE0F8B
split-complementary
#FEF90F #0F8BFE #820FFE
monochromatic
#928F01 #CFCB01 #FEF90F #FEFB4C #FFFC89

Accessibility & contrast

On white

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

On black

18.77
#FEF90F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF90F
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF90F#FFFFFF#000000##000000
##FEF90F1.001.1218.7718.77
#FFFFFF1.121.0021.0021.00
#00000018.7721.001.001.00
##00000018.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE00
Deuteranopia (green-blind)
#FFF533
Tritanopia (blue-blind)
#FFE8D4
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fef90f;
/* rgb */ color: rgb(254, 249, 15);
/* oklch */ color: oklch(95.5% 0.205 108.2);
Tailwind
colors: {
  custom: {
    50: '#fffa74',
    500: '#fef90f',
    950: '#000000',
  },
}
SCSS
$custom: #fef90f;
$custom-light: #fffa74;
$custom-dark: #000000;
JSON
{
  "hex": "#fef90f",
  "rgb": {
    "r": 254,
    "g": 249,
    "b": 15
  },
  "hsl": {
    "h": 58.745,
    "s": 99.17,
    "l": 52.745
  },
  "oklch": {
    "l": 0.95491,
    "c": 0.20459,
    "h": 108.2
  },
  "luminance": 0.88857
}

Semantic roles & 50–950 ramp

primary
#FEF90F
secondary
#1B1E96
accent
#2DFF29
background
#FFFFFB
surface
#FFFFF2
border
#D7D7CC
text
#19170A
muted
#87857D

Preview Lab

Preview with #FEF90F

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

Preview Lab → · Contrast checker → · Palette generator →

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