#E2B240#E2B240

#E2B240 is a light, vivid orange. Relative luminance 0.484; OKLCH L 78.7% C 0.138 H 85.2°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#E2B240
RGBrgb(226, 178, 64)
HSLhsl(42, 74%, 57%)
HSVhsv(42, 72%, 89%)
CMYKcmyk(0%, 21.2%, 71.7%, 11.4%)
CIE-LABlab(75.07, 6.23, 62.06)
CIE-LCHlch(75.07, 62.38, 84.26°)
OKLaboklab(78.74% 0.0116 0.138)
OKLCHoklch(78.74% 0.138 85.2)
XYZxyz(48.2127, 48.3830, 11.6490)
Luminance0.4838 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2B240 #4070E2
analogous
#E26140 #E2B240 #C1E240
triadic
#E2B240 #40E2B2 #B240E2
tetradic
#E2B240 #40E261 #4070E2 #E240C1
square
#E2B240 #40E261 #4070E2 #E240C1
split-complementary
#E2B240 #40C1E2 #6140E2
monochromatic
#926D16 #C7951E #E2B240 #EAC775 #F2DDAA

Accessibility & contrast

On white

1.97
#E2B240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#E2B240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2B240
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2B240#FFFFFF#000000##000000
##E2B2401.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B130
Deuteranopia (green-blind)
#D3BE45
Tritanopia (blue-blind)
#F5A29B
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #e2b240;
/* rgb */ color: rgb(226, 178, 64);
/* oklch */ color: oklch(78.7% 0.138 85.2);
Tailwind
colors: {
  custom: {
    50: '#f0c87b',
    500: '#e2b240',
    950: '#000000',
  },
}
SCSS
$custom: #e2b240;
$custom-light: #f0c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2b240",
  "rgb": {
    "r": 226,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 42.222,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.78738,
    "c": 0.13849,
    "h": 85.2
  },
  "luminance": 0.4838
}

Semantic roles & 50–950 ramp

primary
#E2B240
secondary
#9EB1E0
accent
#6EF038
background
#FFFCF7
surface
#FFF8EE
border
#D7D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #E2B240

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

Preview Lab → · Contrast checker → · Palette generator →

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