#E2C271#E2C271

#E2C271 is a very light, moderate orange. Relative luminance 0.559; OKLCH L 82.5% C 0.107 H 88.5°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#E2C271
RGBrgb(226, 194, 113)
HSLhsl(43, 66%, 66%)
HSVhsv(43, 50%, 89%)
CMYKcmyk(0%, 14.2%, 50%, 11.4%)
CIE-LABlab(79.58, 1.19, 44.67)
CIE-LCHlch(79.58, 44.69, 88.47°)
OKLaboklab(82.45% 0.0029 0.1069)
OKLCHoklch(82.45% 0.107 88.5)
XYZxyz(53.6384, 55.9471, 23.5931)
Luminance0.5595 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C271 #7191E2
analogous
#E28A71 #E2C271 #CAE271
triadic
#E2C271 #71E2C2 #C271E2
tetradic
#E2C271 #71E28A #7191E2 #E271CA
square
#E2C271 #71E28A #7191E2 #E271CA
split-complementary
#E2C271 #71CAE2 #8A71E2
monochromatic
#B48B25 #D8AC3E #E2C271 #ECD8A4 #F7EED7

Accessibility & contrast

On white

1.72
#E2C271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.19
#E2C271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C271
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C271#FFFFFF#000000##000000
##E2C2711.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C06A
Deuteranopia (green-blind)
#DBC974
Tritanopia (blue-blind)
#F2B6AF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e2c271;
/* rgb */ color: rgb(226, 194, 113);
/* oklch */ color: oklch(82.5% 0.107 88.5);
Tailwind
colors: {
  custom: {
    50: '#edd49b',
    500: '#e2c271',
    950: '#000000',
  },
}
SCSS
$custom: #e2c271;
$custom-light: #edd49b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c271",
  "rgb": {
    "r": 226,
    "g": 194,
    "b": 113
  },
  "hsl": {
    "h": 43.009,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.82451,
    "c": 0.10691,
    "h": 88.5
  },
  "luminance": 0.55945
}

Semantic roles & 50–950 ramp

primary
#E2C271
secondary
#4263B5
accent
#4BCE18
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E2C271

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

Preview Lab → · Contrast checker → · Palette generator →

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