#9E7F2B#9E7F2B

#9E7F2B is a mid, moderate orange. Relative luminance 0.226; OKLCH L 61.0% C 0.107 H 88.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9E7F2B
RGBrgb(158, 127, 43)
HSLhsl(44, 57%, 39%)
HSVhsv(44, 73%, 62%)
CMYKcmyk(0%, 19.6%, 72.8%, 38%)
CIE-LABlab(54.68, 2.92, 48.00)
CIE-LCHlch(54.68, 48.08, 86.52°)
OKLaboklab(61.05% 0.0037 0.1069)
OKLCHoklch(61.05% 0.107 88)
XYZxyz(22.1272, 22.6237, 5.4864)
Luminance0.2262 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E7F2B #2B4A9E
analogous
#9E462B #9E7F2B #849E2B
triadic
#9E7F2B #2B9E7F #7F2B9E
tetradic
#9E7F2B #2B9E46 #2B4A9E #9E2B84
square
#9E7F2B #2B9E46 #2B4A9E #9E2B84
split-complementary
#9E7F2B #2B849E #462B9E
monochromatic
#3E3211 #6E581E #9E7F2B #CAA43C #D7BA6C

Accessibility & contrast

On white

3.80
#9E7F2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#9E7F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E7F2B
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E7F2B#FFFFFF#000000##000000
##9E7F2B1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1F
Deuteranopia (green-blind)
#95862F
Tritanopia (blue-blind)
#AB746E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9e7f2b;
/* rgb */ color: rgb(158, 127, 43);
/* oklch */ color: oklch(61.0% 0.107 88.0);
Tailwind
colors: {
  custom: {
    50: '#bea36a',
    500: '#9e7f2b',
    950: '#000000',
  },
}
SCSS
$custom: #9e7f2b;
$custom-light: #bea36a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e7f2b",
  "rgb": {
    "r": 158,
    "g": 127,
    "b": 43
  },
  "hsl": {
    "h": 43.826,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.61045,
    "c": 0.10695,
    "h": 88
  },
  "luminance": 0.22622
}

Semantic roles & 50–950 ramp

primary
#9E7F2B
secondary
#677EBE
accent
#71E047
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9E7F2B

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

Preview Lab → · Contrast checker → · Palette generator →

#9E7F2B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva