#E7B962#E7B962

#E7B962 is a light, moderate orange. Relative luminance 0.526; OKLCH L 81.0% C 0.118 H 81.7°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#E7B962
RGBrgb(231, 185, 98)
HSLhsl(39, 73%, 65%)
HSVhsv(39, 58%, 91%)
CMYKcmyk(0%, 19.9%, 57.6%, 9.4%)
CIE-LABlab(77.62, 6.73, 49.78)
CIE-LCHlch(77.62, 50.24, 82.30°)
OKLaboklab(80.96% 0.017 0.1166)
OKLCHoklch(80.96% 0.118 81.7)
XYZxyz(52.5111, 52.5719, 18.9345)
Luminance0.5257 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7B962 #6290E7
analogous
#E77762 #E7B962 #D3E762
triadic
#E7B962 #62E7B9 #B962E7
tetradic
#E7B962 #62E777 #6290E7 #E762D3
square
#E7B962 #62E777 #6290E7 #E762D3
split-complementary
#E7B962 #62D3E7 #7762E7
monochromatic
#B37F1B #DFA12D #E7B962 #EFD197 #F7E8CC

Accessibility & contrast

On white

1.82
#E7B962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#E7B962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7B962
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7B962#FFFFFF#000000##000000
##E7B9621.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB95A
Deuteranopia (green-blind)
#D8C565
Tritanopia (blue-blind)
#F9ABA5
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #e7b962;
/* rgb */ color: rgb(231, 185, 98);
/* oklch */ color: oklch(81.0% 0.118 81.7);
Tailwind
colors: {
  custom: {
    50: '#f2cd91',
    500: '#e7b962',
    950: '#000000',
  },
}
SCSS
$custom: #e7b962;
$custom-light: #f2cd91;
$custom-dark: #000000;
JSON
{
  "hex": "#e7b962",
  "rgb": {
    "r": 231,
    "g": 185,
    "b": 98
  },
  "hsl": {
    "h": 39.248,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.8096,
    "c": 0.11786,
    "h": 81.7
  },
  "luminance": 0.52569
}

Semantic roles & 50–950 ramp

primary
#E7B962
secondary
#3A64B4
accent
#54D610
background
#FFFEFC
surface
#FFFAF4
border
#D7D3CE
text
#17130D
muted
#85837F

Preview Lab

Preview with #E7B962

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

Preview Lab → · Contrast checker → · Palette generator →

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