#E6C271#E6C271

#E6C271 is a very light, moderate orange. Relative luminance 0.566; OKLCH L 82.8% C 0.108 H 86.1°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#E6C271
RGBrgb(230, 194, 113)
HSLhsl(42, 70%, 67%)
HSVhsv(42, 51%, 90%)
CMYKcmyk(0%, 15.7%, 50.9%, 9.8%)
CIE-LABlab(79.95, 2.82, 45.21)
CIE-LCHlch(79.95, 45.30, 86.43°)
OKLaboklab(82.83% 0.0074 0.108)
OKLCHoklch(82.83% 0.108 86.1)
XYZxyz(54.9077, 56.6016, 23.6526)
Luminance0.5660 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6C271 #7195E6
analogous
#E68771 #E6C271 #D0E671
triadic
#E6C271 #71E6C2 #C271E6
tetradic
#E6C271 #71E687 #7195E6 #E671D0
square
#E6C271 #71E687 #7195E6 #E671D0
split-complementary
#E6C271 #71D0E6 #8771E6
monochromatic
#BC8C21 #DDAC3D #E6C271 #EFD8A5 #F8EFD9

Accessibility & contrast

On white

1.70
#E6C271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.32
#E6C271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6C271
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6C271#FFFFFF#000000##000000
##E6C2711.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C16A
Deuteranopia (green-blind)
#DCCA74
Tritanopia (blue-blind)
#F6B5AF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #e6c271;
/* rgb */ color: rgb(230, 194, 113);
/* oklch */ color: oklch(82.8% 0.108 86.1);
Tailwind
colors: {
  custom: {
    50: '#f0d49b',
    500: '#e6c271',
    950: '#000000',
  },
}
SCSS
$custom: #e6c271;
$custom-light: #f0d49b;
$custom-dark: #000000;
JSON
{
  "hex": "#e6c271",
  "rgb": {
    "r": 230,
    "g": 194,
    "b": 113
  },
  "hsl": {
    "h": 41.538,
    "s": 70.06,
    "l": 67.255
  },
  "oklch": {
    "l": 0.82831,
    "c": 0.10825,
    "h": 86.1
  },
  "luminance": 0.56599
}

Semantic roles & 50–950 ramp

primary
#E6C271
secondary
#4066BB
accent
#4ED213
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E6C271

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

Preview Lab → · Contrast checker → · Palette generator →

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