#9E8A26#9E8A26

#9E8A26 is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.4% C 0.117 H 97.4°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9E8A26
RGBrgb(158, 138, 38)
HSLhsl(50, 61%, 38%)
HSVhsv(50, 76%, 62%)
CMYKcmyk(0%, 12.7%, 75.9%, 38%)
CIE-LABlab(57.64, -3.43, 52.89)
CIE-LCHlch(57.64, 53.01, 93.71°)
OKLaboklab(63.37% -0.015 0.1163)
OKLCHoklch(63.37% 0.117 97.4)
XYZxyz(23.5401, 25.5872, 5.5323)
Luminance0.2559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8A26 #263A9E
analogous
#9E4E26 #9E8A26 #769E26
triadic
#9E8A26 #269E8A #8A269E
tetradic
#9E8A26 #269E4E #263A9E #9E2676
square
#9E8A26 #269E4E #263A9E #9E2676
split-complementary
#9E8A26 #26769E #4E269E
monochromatic
#3B340E #6D5F1A #9E8A26 #CEB433 #DAC665

Accessibility & contrast

On white

3.43
#9E8A26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#9E8A26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8A26
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8A26#FFFFFF#000000##000000
##9E8A261.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988714
Deuteranopia (green-blind)
#9E8D2C
Tritanopia (blue-blind)
#AB7F77
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9e8a26;
/* rgb */ color: rgb(158, 138, 38);
/* oklch */ color: oklch(63.4% 0.117 97.4);
Tailwind
colors: {
  custom: {
    50: '#beab68',
    500: '#9e8a26',
    950: '#000000',
  },
}
SCSS
$custom: #9e8a26;
$custom-light: #beab68;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8a26",
  "rgb": {
    "r": 158,
    "g": 138,
    "b": 38
  },
  "hsl": {
    "h": 50,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63372,
    "c": 0.11726,
    "h": 97.4
  },
  "luminance": 0.25586
}

Semantic roles & 50–950 ramp

primary
#9E8A26
secondary
#6070C0
accent
#5EE443
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9E8A26

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

Preview Lab → · Contrast checker → · Palette generator →

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