#E2B840#E2B840

#E2B840 is a light, vivid orange. Relative luminance 0.508; OKLCH L 79.9% C 0.141 H 89.0°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#E2B840
RGBrgb(226, 184, 64)
HSLhsl(44, 74%, 57%)
HSVhsv(44, 72%, 89%)
CMYKcmyk(0%, 18.6%, 71.7%, 11.4%)
CIE-LABlab(76.57, 3.08, 63.57)
CIE-LCHlch(76.57, 63.64, 87.23°)
OKLaboklab(79.92% 0.0025 0.1412)
OKLCHoklch(79.92% 0.141 89)
XYZxyz(49.4328, 50.8230, 12.0557)
Luminance0.5082 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2B840 #406AE2
analogous
#E26740 #E2B840 #BBE240
triadic
#E2B840 #40E2B8 #B840E2
tetradic
#E2B840 #40E267 #406AE2 #E240BB
square
#E2B840 #40E267 #406AE2 #E240BB
split-complementary
#E2B840 #40BBE2 #6740E2
monochromatic
#927216 #C79B1E #E2B840 #EACC75 #F2E0AA

Accessibility & contrast

On white

1.88
#E2B840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.16
#E2B840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2B840
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2B840#FFFFFF#000000##000000
##E2B8401.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB62F
Deuteranopia (green-blind)
#D7C246
Tritanopia (blue-blind)
#F5A8A0
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #e2b840;
/* rgb */ color: rgb(226, 184, 64);
/* oklch */ color: oklch(79.9% 0.141 89.0);
Tailwind
colors: {
  custom: {
    50: '#efcd7c',
    500: '#e2b840',
    950: '#000000',
  },
}
SCSS
$custom: #e2b840;
$custom-light: #efcd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2b840",
  "rgb": {
    "r": 226,
    "g": 184,
    "b": 64
  },
  "hsl": {
    "h": 44.444,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.79923,
    "c": 0.14121,
    "h": 89
  },
  "luminance": 0.5082
}

Semantic roles & 50–950 ramp

primary
#E2B840
secondary
#304B96
accent
#67F038
background
#FFFEFB
surface
#FFFAF2
border
#D7D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #E2B840

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

Preview Lab → · Contrast checker → · Palette generator →

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