#FFE873#FFE873

#FFE873 is a very light, vivid yellow. Relative luminance 0.802; OKLCH L 92.7% C 0.139 H 98.4°. Best body text is #000000 at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#FFE873
RGBrgb(255, 232, 115)
HSLhsl(50, 100%, 73%)
HSVhsv(50, 55%, 100%)
CMYKcmyk(0%, 9%, 54.9%, 0%)
CIE-LABlab(91.78, -6.27, 58.88)
CIE-LCHlch(91.78, 59.22, 96.08°)
OKLaboklab(92.7% -0.0203 0.1377)
OKLCHoklch(92.7% 0.139 98.4)
XYZxyz(73.1938, 80.2140, 27.8437)
Luminance0.8021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE873 #738AFF
analogous
#FFA273 #FFE873 #D0FF73
triadic
#FFE873 #73FFE8 #E873FF
tetradic
#FFE873 #73FFA2 #738AFF #FF73D0
square
#FFE873 #73FFA2 #738AFF #FF73D0
split-complementary
#FFE873 #73D0FF #A273FF
monochromatic
#F8CF00 #FFDE36 #FFE873 #FFF2B0 #FFFAE0

Accessibility & contrast

On white

1.23
#FFE873 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.04
#FFE873 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE873
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE873#FFFFFF#000000##000000
##FFE8731.001.2317.0417.04
#FFFFFF1.231.0021.0021.00
#00000017.0421.001.001.00
##00000017.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE368
Deuteranopia (green-blind)
#FFEB78
Tritanopia (blue-blind)
#FFDACE
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ffe873;
/* rgb */ color: rgb(255, 232, 115);
/* oklch */ color: oklch(92.7% 0.139 98.4);
Tailwind
colors: {
  custom: {
    50: '#ffef9e',
    500: '#ffe873',
    950: '#000000',
  },
}
SCSS
$custom: #ffe873;
$custom-light: #ffef9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe873",
  "rgb": {
    "r": 255,
    "g": 232,
    "b": 115
  },
  "hsl": {
    "h": 50.143,
    "s": 100,
    "l": 72.549
  },
  "oklch": {
    "l": 0.92701,
    "c": 0.13914,
    "h": 98.4
  },
  "luminance": 0.80211
}

Semantic roles & 50–950 ramp

primary
#FFE873
secondary
#3A55DC
accent
#26E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #FFE873

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

Preview Lab → · Contrast checker → · Palette generator →

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