#9E8622#9E8622

#9E8622 is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.5% C 0.117 H 94.8°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9E8622
RGBrgb(158, 134, 34)
HSLhsl(48, 65%, 38%)
HSVhsv(48, 78%, 62%)
CMYKcmyk(0%, 15.2%, 78.5%, 38%)
CIE-LABlab(56.52, -1.40, 53.31)
CIE-LCHlch(56.52, 53.33, 91.50°)
OKLaboklab(62.48% -0.0097 0.1163)
OKLCHoklch(62.48% 0.117 94.8)
XYZxyz(22.9156, 24.4361, 5.0227)
Luminance0.2444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8622 #223A9E
analogous
#9E4822 #9E8622 #789E22
triadic
#9E8622 #229E86 #86229E
tetradic
#9E8622 #229E48 #223A9E #9E2278
square
#9E8622 #229E48 #223A9E #9E2278
split-complementary
#9E8622 #22789E #48229E
monochromatic
#39310C #6C5B17 #9E8622 #D0B12D #DCC45E

Accessibility & contrast

On white

3.57
#9E8622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#9E8622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8622
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8622#FFFFFF#000000##000000
##9E86221.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830D
Deuteranopia (green-blind)
#9B8B29
Tritanopia (blue-blind)
#AB7B73
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9e8622;
/* rgb */ color: rgb(158, 134, 34);
/* oklch */ color: oklch(62.5% 0.117 94.8);
Tailwind
colors: {
  custom: {
    50: '#bfa866',
    500: '#9e8622',
    950: '#000000',
  },
}
SCSS
$custom: #9e8622;
$custom-light: #bfa866;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8622",
  "rgb": {
    "r": 158,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 48.387,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62477,
    "c": 0.11674,
    "h": 94.8
  },
  "luminance": 0.24435
}

Semantic roles & 50–950 ramp

primary
#9E8622
secondary
#5B6FC1
accent
#61E840
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9E8622

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

Preview Lab → · Contrast checker → · Palette generator →

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