#E7C166#E7C166

#E7C166 is a very light, moderate orange. Relative luminance 0.561; OKLCH L 82.6% C 0.118 H 87.0°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#E7C166
RGBrgb(231, 193, 102)
HSLhsl(42, 73%, 65%)
HSVhsv(42, 56%, 91%)
CMYKcmyk(0%, 16.5%, 55.8%, 9.4%)
CIE-LABlab(79.67, 2.85, 50.26)
CIE-LCHlch(79.67, 50.34, 86.76°)
OKLaboklab(82.58% 0.0061 0.1181)
OKLCHoklch(82.58% 0.118 87)
XYZxyz(54.4256, 56.0911, 20.5277)
Luminance0.5609 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C166 #668CE7
analogous
#E78166 #E7C166 #CCE766
triadic
#E7C166 #66E7C1 #C166E7
tetradic
#E7C166 #66E781 #668CE7 #E766CC
square
#E7C166 #66E781 #668CE7 #E766CC
split-complementary
#E7C166 #66CCE7 #8166E7
monochromatic
#B6891D #DFAC31 #E7C166 #EFD69B #F8ECD0

Accessibility & contrast

On white

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

On black

12.22
#E7C166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C166
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C166#FFFFFF#000000##000000
##E7C1661.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF5E
Deuteranopia (green-blind)
#DDCA69
Tritanopia (blue-blind)
#F8B3AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e7c166;
/* rgb */ color: rgb(231, 193, 102);
/* oklch */ color: oklch(82.6% 0.118 87.0);
Tailwind
colors: {
  custom: {
    50: '#f1d394',
    500: '#e7c166',
    950: '#000000',
  },
}
SCSS
$custom: #e7c166;
$custom-light: #f1d394;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c166",
  "rgb": {
    "r": 231,
    "g": 193,
    "b": 102
  },
  "hsl": {
    "h": 42.326,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.82582,
    "c": 0.11825,
    "h": 87
  },
  "luminance": 0.56088
}

Semantic roles & 50–950 ramp

primary
#E7C166
secondary
#3B5FB6
accent
#4AD511
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E7C166

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

Preview Lab → · Contrast checker → · Palette generator →

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