#FFE172#FFE172

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

Color values

HEX#FFE172
RGBrgb(255, 225, 114)
HSLhsl(47, 100%, 72%)
HSVhsv(47, 55%, 100%)
CMYKcmyk(0%, 11.8%, 55.3%, 0%)
CIE-LABlab(90.01, -2.84, 57.29)
CIE-LCHlch(90.01, 57.36, 92.83°)
OKLaboklab(91.3% -0.0104 0.1341)
OKLCHoklch(91.3% 0.135 94.5)
XYZxyz(71.2053, 76.3286, 26.8986)
Luminance0.7632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE172 #7290FF
analogous
#FF9B72 #FFE172 #D7FF72
triadic
#FFE172 #72FFE1 #E172FF
tetradic
#FFE172 #72FF9B #7290FF #FF72D7
square
#FFE172 #72FF9B #7290FF #FF72D7
split-complementary
#FFE172 #72D7FF #9B72FF
monochromatic
#F7C200 #FFD435 #FFE172 #FFEEAF #FFF8E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFE172#FFFFFF#000000##000000
##FFE1721.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)
#F5DD67
Deuteranopia (green-blind)
#FCE677
Tritanopia (blue-blind)
#FFD2C8
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ffe172;
/* rgb */ color: rgb(255, 225, 114);
/* oklch */ color: oklch(91.3% 0.135 94.5);
Tailwind
colors: {
  custom: {
    50: '#ffea9d',
    500: '#ffe172',
    950: '#000000',
  },
}
SCSS
$custom: #ffe172;
$custom-light: #ffea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe172",
  "rgb": {
    "r": 255,
    "g": 225,
    "b": 114
  },
  "hsl": {
    "h": 47.234,
    "s": 100,
    "l": 72.353
  },
  "oklch": {
    "l": 0.91298,
    "c": 0.13451,
    "h": 94.5
  },
  "luminance": 0.76325
}

Semantic roles & 50–950 ramp

primary
#FFE172
secondary
#395CDC
accent
#31E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FFE172

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

Preview Lab → · Contrast checker → · Palette generator →

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