#E9D271#E9D271

#E9D271 is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 86.3% C 0.120 H 96.3°. Best body text is #000000 at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#E9D271
RGBrgb(233, 210, 113)
HSLhsl(49, 73%, 68%)
HSVhsv(49, 52%, 91%)
CMYKcmyk(0%, 9.9%, 51.5%, 8.6%)
CIE-LABlab(84.28, -4.21, 50.52)
CIE-LCHlch(84.28, 50.69, 94.77°)
OKLaboklab(86.31% -0.0132 0.1197)
OKLCHoklch(86.31% 0.12 96.3)
XYZxyz(59.6335, 64.6115, 24.9497)
Luminance0.6461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9D271 #7188E9
analogous
#E99671 #E9D271 #C4E971
triadic
#E9D271 #71E9D2 #D271E9
tetradic
#E9D271 #71E996 #7188E9 #E971C4
square
#E9D271 #71E996 #7188E9 #E971C4
split-complementary
#E9D271 #71C4E9 #9671E9
monochromatic
#C2A21E #E1C13C #E9D271 #F1E3A6 #F9F4DB

Accessibility & contrast

On white

1.51
#E9D271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.92
#E9D271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9D271
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9D271#FFFFFF#000000##000000
##E9D2711.001.5113.9213.92
#FFFFFF1.511.0021.0021.00
#00000013.9221.001.001.00
##00000013.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE68
Deuteranopia (green-blind)
#E9D675
Tritanopia (blue-blind)
#F9C5BB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e9d271;
/* rgb */ color: rgb(233, 210, 113);
/* oklch */ color: oklch(86.3% 0.120 96.3);
Tailwind
colors: {
  custom: {
    50: '#f2df9c',
    500: '#e9d271',
    950: '#000000',
  },
}
SCSS
$custom: #e9d271;
$custom-light: #f2df9c;
$custom-dark: #000000;
JSON
{
  "hex": "#e9d271",
  "rgb": {
    "r": 233,
    "g": 210,
    "b": 113
  },
  "hsl": {
    "h": 48.5,
    "s": 73.171,
    "l": 67.843
  },
  "oklch": {
    "l": 0.8631,
    "c": 0.12038,
    "h": 96.3
  },
  "luminance": 0.64609
}

Semantic roles & 50–950 ramp

primary
#E9D271
secondary
#3E57C0
accent
#36D510
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E9D271

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

Preview Lab → · Contrast checker → · Palette generator →

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