#FFE173#FFE173

#FFE173 is a very light, vivid yellow. Relative luminance 0.763; OKLCH L 91.3% C 0.134 H 94.3°. Best body text is #000000 at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#FFE173
RGBrgb(255, 225, 115)
HSLhsl(47, 100%, 73%)
HSVhsv(47, 55%, 100%)
CMYKcmyk(0%, 11.8%, 54.9%, 0%)
CIE-LABlab(90.02, -2.76, 56.84)
CIE-LCHlch(90.02, 56.90, 92.78°)
OKLaboklab(91.31% -0.0101 0.1332)
OKLCHoklch(91.31% 0.134 94.3)
XYZxyz(71.2625, 76.3515, 27.2000)
Luminance0.7635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE173 #7391FF
analogous
#FF9B73 #FFE173 #D7FF73
triadic
#FFE173 #73FFE1 #E173FF
tetradic
#FFE173 #73FF9B #7391FF #FF73D7
square
#FFE173 #73FF9B #7391FF #FF73D7
split-complementary
#FFE173 #73D7FF #9B73FF
monochromatic
#F8C300 #FFD436 #FFE173 #FFEEB0 #FFF8E0

Accessibility & contrast

On white

1.29
#FFE173 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.27
#FFE173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE173
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE173#FFFFFF#000000##000000
##FFE1731.001.2916.2716.27
#FFFFFF1.291.0021.0021.00
#00000016.2721.001.001.00
##00000016.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD69
Deuteranopia (green-blind)
#FCE678
Tritanopia (blue-blind)
#FFD2C8
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ffe173;
/* rgb */ color: rgb(255, 225, 115);
/* oklch */ color: oklch(91.3% 0.134 94.3);
Tailwind
colors: {
  custom: {
    50: '#ffea9e',
    500: '#ffe173',
    950: '#000000',
  },
}
SCSS
$custom: #ffe173;
$custom-light: #ffea9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe173",
  "rgb": {
    "r": 255,
    "g": 225,
    "b": 115
  },
  "hsl": {
    "h": 47.143,
    "s": 100,
    "l": 72.549
  },
  "oklch": {
    "l": 0.9131,
    "c": 0.13361,
    "h": 94.3
  },
  "luminance": 0.76348
}

Semantic roles & 50–950 ramp

primary
#FFE173
secondary
#3A5DDC
accent
#31E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #FFE173

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

Preview Lab → · Contrast checker → · Palette generator →

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