#E7BA40#E7BA40

#E7BA40 is a light, vivid orange. Relative luminance 0.525; OKLCH L 80.8% C 0.144 H 87.9°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#E7BA40
RGBrgb(231, 186, 64)
HSLhsl(44, 78%, 58%)
HSVhsv(44, 72%, 91%)
CMYKcmyk(0%, 19.5%, 72.3%, 9.4%)
CIE-LABlab(77.57, 4.16, 64.72)
CIE-LCHlch(77.57, 64.85, 86.32°)
OKLaboklab(80.82% 0.0053 0.1434)
OKLCHoklch(80.82% 0.144 87.9)
XYZxyz(51.4423, 52.4803, 12.2697)
Luminance0.5248 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7BA40 #406DE7
analogous
#E76640 #E7BA40 #C1E740
triadic
#E7BA40 #40E7BA #BA40E7
tetradic
#E7BA40 #40E766 #406DE7 #E740C1
square
#E7BA40 #40E766 #406DE7 #E740C1
split-complementary
#E7BA40 #40C1E7 #6640E7
monochromatic
#997513 #D09F1A #E7BA40 #EECE76 #F5E1AD

Accessibility & contrast

On white

1.83
#E7BA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.50
#E7BA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7BA40
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7BA40#FFFFFF#000000##000000
##E7BA401.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92E
Deuteranopia (green-blind)
#DAC546
Tritanopia (blue-blind)
#FAAAA1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #e7ba40;
/* rgb */ color: rgb(231, 186, 64);
/* oklch */ color: oklch(80.8% 0.144 87.9);
Tailwind
colors: {
  custom: {
    50: '#f3ce7c',
    500: '#e7ba40',
    950: '#000000',
  },
}
SCSS
$custom: #e7ba40;
$custom-light: #f3ce7c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ba40",
  "rgb": {
    "r": 231,
    "g": 186,
    "b": 64
  },
  "hsl": {
    "h": 43.832,
    "s": 77.674,
    "l": 57.843
  },
  "oklch": {
    "l": 0.8082,
    "c": 0.14354,
    "h": 87.9
  },
  "luminance": 0.52477
}

Semantic roles & 50–950 ramp

primary
#E7BA40
secondary
#2E4C9D
accent
#68F434
background
#FFFEFB
surface
#FFFAF2
border
#D7D3CC
text
#18130A
muted
#86837D

Preview Lab

Preview with #E7BA40

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

Preview Lab → · Contrast checker → · Palette generator →

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