#FFE371#FFE371

#FFE371 is a very light, vivid yellow. Relative luminance 0.774; OKLCH L 91.7% C 0.137 H 95.7°. Best body text is #000000 at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#FFE371
RGBrgb(255, 227, 113)
HSLhsl(48, 100%, 72%)
HSVhsv(48, 56%, 100%)
CMYKcmyk(0%, 11%, 55.7%, 0%)
CIE-LABlab(90.50, -3.92, 58.31)
CIE-LCHlch(90.50, 58.45, 93.84°)
OKLaboklab(91.68% -0.0137 0.1362)
OKLCHoklch(91.68% 0.137 95.7)
XYZxyz(71.6925, 77.3936, 26.7817)
Luminance0.7739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE371 #718DFF
analogous
#FF9C71 #FFE371 #D4FF71
triadic
#FFE371 #71FFE3 #E371FF
tetradic
#FFE371 #71FF9C #718DFF #FF71D4
square
#FFE371 #71FF9C #718DFF #FF71D4
split-complementary
#FFE371 #71D4FF #9C71FF
monochromatic
#F6C500 #FFD734 #FFE371 #FFEFAE #FFF9E0

Accessibility & contrast

On white

1.27
#FFE371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.48
#FFE371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE371
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE371#FFFFFF#000000##000000
##FFE3711.001.2716.4816.48
#FFFFFF1.271.0021.0021.00
#00000016.4821.001.001.00
##00000016.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DF66
Deuteranopia (green-blind)
#FEE876
Tritanopia (blue-blind)
#FFD4C9
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ffe371;
/* rgb */ color: rgb(255, 227, 113);
/* oklch */ color: oklch(91.7% 0.137 95.7);
Tailwind
colors: {
  custom: {
    50: '#ffeb9d',
    500: '#ffe371',
    950: '#000000',
  },
}
SCSS
$custom: #ffe371;
$custom-light: #ffeb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe371",
  "rgb": {
    "r": 255,
    "g": 227,
    "b": 113
  },
  "hsl": {
    "h": 48.169,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.91683,
    "c": 0.13691,
    "h": 95.7
  },
  "luminance": 0.7739
}

Semantic roles & 50–950 ramp

primary
#FFE371
secondary
#3859DC
accent
#2DE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FFE371

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

Preview Lab → · Contrast checker → · Palette generator →

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