#E7BA5F#E7BA5F

#E7BA5F is a light, vivid orange. Relative luminance 0.529; OKLCH L 81.1% C 0.121 H 83.1°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#E7BA5F
RGBrgb(231, 186, 95)
HSLhsl(40, 74%, 64%)
HSVhsv(40, 59%, 91%)
CMYKcmyk(0%, 19.5%, 58.9%, 9.4%)
CIE-LABlab(77.84, 5.99, 51.47)
CIE-LCHlch(77.84, 51.82, 83.36°)
OKLaboklab(81.12% 0.0144 0.12)
OKLCHoklch(81.12% 0.121 83.1)
XYZxyz(52.5821, 52.9362, 18.2724)
Luminance0.5293 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7BA5F #5F8CE7
analogous
#E7765F #E7BA5F #D0E75F
triadic
#E7BA5F #5FE7BA #BA5FE7
tetradic
#E7BA5F #5FE776 #5F8CE7 #E75FD0
square
#E7BA5F #5FE776 #5F8CE7 #E75FD0
split-complementary
#E7BA5F #5FD0E7 #765FE7
monochromatic
#B17F1B #DFA32A #E7BA5F #EFD194 #F7E8C9

Accessibility & contrast

On white

1.81
#E7BA5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#E7BA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7BA5F
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7BA5F#FFFFFF#000000##000000
##E7BA5F1.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBA56
Deuteranopia (green-blind)
#D8C562
Tritanopia (blue-blind)
#F9ACA5
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #e7ba5f;
/* rgb */ color: rgb(231, 186, 95);
/* oklch */ color: oklch(81.1% 0.121 83.1);
Tailwind
colors: {
  custom: {
    50: '#f2ce8f',
    500: '#e7ba5f',
    950: '#000000',
  },
}
SCSS
$custom: #e7ba5f;
$custom-light: #f2ce8f;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ba5f",
  "rgb": {
    "r": 231,
    "g": 186,
    "b": 95
  },
  "hsl": {
    "h": 40.147,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.81119,
    "c": 0.12082,
    "h": 83.1
  },
  "luminance": 0.52933
}

Semantic roles & 50–950 ramp

primary
#E7BA5F
secondary
#3961B2
accent
#51D60F
background
#FFFEFC
surface
#FFFAF4
border
#D7D3CE
text
#17130D
muted
#85837F

Preview Lab

Preview with #E7BA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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