#FEF762#FEF762

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

Color values

HEX#FEF762
RGBrgb(254, 247, 98)
HSLhsl(57, 99%, 69%)
HSVhsv(57, 61%, 100%)
CMYKcmyk(0%, 2.8%, 61.4%, 0.4%)
CIE-LABlab(95.36, -15.23, 70.18)
CIE-LCHlch(95.36, 71.81, 102.25°)
OKLaboklab(95.48% -0.0476 0.1597)
OKLCHoklch(95.48% 0.167 106.6)
XYZxyz(76.3410, 88.4767, 24.6093)
Luminance0.8847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF762 #6269FE
analogous
#FEA962 #FEF762 #B7FE62
triadic
#FEF762 #62FEF7 #F762FE
tetradic
#FEF762 #62FEA9 #6269FE #FE62B7
square
#FEF762 #62FEA9 #6269FE #FE62B7
split-complementary
#FEF762 #62B7FE #A962FE
monochromatic
#E4DA01 #FEF425 #FEF762 #FEFA9F #FFFDDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FEF762#FFFFFF#000000##000000
##FEF7621.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)
#FFEE50
Deuteranopia (green-blind)
#FFF56B
Tritanopia (blue-blind)
#FFE8D8
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fef762;
/* rgb */ color: rgb(254, 247, 98);
/* oklch */ color: oklch(95.5% 0.167 106.6);
Tailwind
colors: {
  custom: {
    50: '#fff995',
    500: '#fef762',
    950: '#000000',
  },
}
SCSS
$custom: #fef762;
$custom-light: #fff995;
$custom-dark: #000000;
JSON
{
  "hex": "#fef762",
  "rgb": {
    "r": 254,
    "g": 247,
    "b": 98
  },
  "hsl": {
    "h": 57.308,
    "s": 98.734,
    "l": 69.02
  },
  "oklch": {
    "l": 0.95476,
    "c": 0.16669,
    "h": 106.6
  },
  "luminance": 0.88474
}

Semantic roles & 50–950 ramp

primary
#FEF762
secondary
#2C34D8
accent
#0AE600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#19170E
muted
#87857F

Preview Lab

Preview with #FEF762

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

Preview Lab → · Contrast checker → · Palette generator →

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