#FEF705#FEF705

#FEF705 is a very light, highly saturated yellow. Relative luminance 0.876; OKLCH L 95.1% C 0.204 H 107.6°. Best body text is #000000 at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#FEF705
RGBrgb(254, 247, 5)
HSLhsl(58, 99%, 51%)
HSVhsv(58, 98%, 100%)
CMYKcmyk(0%, 2.8%, 98%, 0.4%)
CIE-LABlab(94.99, -18.11, 92.52)
CIE-LCHlch(94.99, 94.28, 101.08°)
OKLaboklab(95.07% -0.0618 0.1945)
OKLCHoklch(95.07% 0.204 107.6)
XYZxyz(74.1646, 87.6061, 13.1466)
Luminance0.8760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF705 #050CFE
analogous
#FE7A05 #FEF705 #89FE05
triadic
#FEF705 #05FEF7 #F705FE
tetradic
#FEF705 #05FE7A #050CFE #FE0589
square
#FEF705 #05FE7A #050CFE #FE0589
split-complementary
#FEF705 #0589FE #7A05FE
monochromatic
#888401 #C5BF01 #FEF705 #FEF942 #FEFB7F

Accessibility & contrast

On white

1.13
#FEF705 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.52
#FEF705 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF705
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF705#FFFFFF#000000##000000
##FEF7051.001.1318.5218.52
#FFFFFF1.131.0021.0021.00
#00000018.5221.001.001.00
##00000018.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED00
Deuteranopia (green-blind)
#FFF430
Tritanopia (blue-blind)
#FFE6D3
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fef705;
/* rgb */ color: rgb(254, 247, 5);
/* oklch */ color: oklch(95.1% 0.204 107.6);
Tailwind
colors: {
  custom: {
    50: '#fff972',
    500: '#fef705',
    950: '#000000',
  },
}
SCSS
$custom: #fef705;
$custom-light: #fff972;
$custom-dark: #000000;
JSON
{
  "hex": "#fef705",
  "rgb": {
    "r": 254,
    "g": 247,
    "b": 5
  },
  "hsl": {
    "h": 58.313,
    "s": 99.203,
    "l": 50.784
  },
  "oklch": {
    "l": 0.95067,
    "c": 0.20402,
    "h": 107.6
  },
  "luminance": 0.87603
}

Semantic roles & 50–950 ramp

primary
#FEF705
secondary
#1A1D8E
accent
#2FFF29
background
#FFFFFB
surface
#FFFEF1
border
#D7D6CB
text
#19170A
muted
#87857D

Preview Lab

Preview with #FEF705

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

Preview Lab → · Contrast checker → · Palette generator →

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