#FFEF76#FFEF76

#FFEF76 is a very light, vivid yellow. Relative luminance 0.843; OKLCH L 94.1% C 0.143 H 101.8°. Best body text is #000000 at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#FFEF76
RGBrgb(255, 239, 118)
HSLhsl(53, 100%, 73%)
HSVhsv(53, 54%, 100%)
CMYKcmyk(0%, 6.3%, 53.7%, 0%)
CIE-LABlab(93.58, -9.52, 59.61)
CIE-LCHlch(93.58, 60.37, 99.08°)
OKLaboklab(94.14% -0.0293 0.1395)
OKLCHoklch(94.14% 0.143 101.8)
XYZxyz(75.3790, 84.3037, 29.4376)
Luminance0.8430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF76 #7686FF
analogous
#FFAA76 #FFEF76 #CAFF76
triadic
#FFEF76 #76FFEF #EF76FF
tetradic
#FFEF76 #76FFAA #7686FF #FF76CA
square
#FFEF76 #76FFAA #7686FF #FF76CA
split-complementary
#FFEF76 #76CAFF #AA76FF
monochromatic
#FBDD00 #FFE839 #FFEF76 #FFF6B3 #FFFBE0

Accessibility & contrast

On white

1.18
#FFEF76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.86
#FFEF76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF76
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF76#FFFFFF#000000##000000
##FFEF761.001.1817.8617.86
#FFFFFF1.181.0021.0021.00
#00000017.8621.001.001.00
##00000017.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96A
Deuteranopia (green-blind)
#FFF07C
Tritanopia (blue-blind)
#FFE1D4
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ffef76;
/* rgb */ color: rgb(255, 239, 118);
/* oklch */ color: oklch(94.1% 0.143 101.8);
Tailwind
colors: {
  custom: {
    50: '#fff4a1',
    500: '#ffef76',
    950: '#000000',
  },
}
SCSS
$custom: #ffef76;
$custom-light: #fff4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef76",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 118
  },
  "hsl": {
    "h": 52.993,
    "s": 100,
    "l": 73.137
  },
  "oklch": {
    "l": 0.9414,
    "c": 0.14258,
    "h": 101.8
  },
  "luminance": 0.84301
}

Semantic roles & 50–950 ramp

primary
#FFEF76
secondary
#3D4FDD
accent
#1BE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FFEF76

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

Preview Lab → · Contrast checker → · Palette generator →

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