#FFE271#FFE271

#FFE271 is a very light, vivid yellow. Relative luminance 0.768; OKLCH L 91.5% C 0.136 H 95.2°. Best body text is #000000 at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#FFE271
RGBrgb(255, 226, 113)
HSLhsl(48, 100%, 72%)
HSVhsv(48, 56%, 100%)
CMYKcmyk(0%, 11.4%, 55.7%, 0%)
CIE-LABlab(90.25, -3.42, 58.02)
CIE-LCHlch(90.25, 58.12, 93.37°)
OKLaboklab(91.49% -0.0122 0.1356)
OKLCHoklch(91.49% 0.136 95.2)
XYZxyz(71.4198, 76.8482, 26.6908)
Luminance0.7684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE271 #718EFF
analogous
#FF9B71 #FFE271 #D5FF71
triadic
#FFE271 #71FFE2 #E271FF
tetradic
#FFE271 #71FF9B #718EFF #FF71D5
square
#FFE271 #71FF9B #718EFF #FF71D5
split-complementary
#FFE271 #71D5FF #9B71FF
monochromatic
#F6C300 #FFD534 #FFE271 #FFEEAE #FFF9E0

Accessibility & contrast

On white

1.28
#FFE271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.37
#FFE271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE271
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE271#FFFFFF#000000##000000
##FFE2711.001.2816.3716.37
#FFFFFF1.281.0021.0021.00
#00000016.3721.001.001.00
##00000016.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE66
Deuteranopia (green-blind)
#FDE776
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ffe271;
/* rgb */ color: rgb(255, 226, 113);
/* oklch */ color: oklch(91.5% 0.136 95.2);
Tailwind
colors: {
  custom: {
    50: '#ffea9d',
    500: '#ffe271',
    950: '#000000',
  },
}
SCSS
$custom: #ffe271;
$custom-light: #ffea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe271",
  "rgb": {
    "r": 255,
    "g": 226,
    "b": 113
  },
  "hsl": {
    "h": 47.746,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.91485,
    "c": 0.13614,
    "h": 95.2
  },
  "luminance": 0.76845
}

Semantic roles & 50–950 ramp

primary
#FFE271
secondary
#385ADC
accent
#2FE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FFE271

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

Preview Lab → · Contrast checker → · Palette generator →

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