#9A8A2E#9A8A2E

#9A8A2E is a light, moderate yellow. Relative luminance 0.252; OKLCH L 63.0% C 0.112 H 99.2°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9A8A2E
RGBrgb(154, 138, 46)
HSLhsl(51, 54%, 39%)
HSVhsv(51, 70%, 60%)
CMYKcmyk(0%, 10.4%, 70.1%, 39.6%)
CIE-LABlab(57.31, -4.84, 49.25)
CIE-LCHlch(57.31, 49.49, 95.61°)
OKLaboklab(63.04% -0.0179 0.1103)
OKLCHoklch(63.04% 0.112 99.2)
XYZxyz(22.9091, 25.2453, 6.2504)
Luminance0.2524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8A2E #2E3E9A
analogous
#9A542E #9A8A2E #749A2E
triadic
#9A8A2E #2E9A8A #8A2E9A
tetradic
#9A8A2E #2E9A54 #2E3E9A #9A2E74
square
#9A8A2E #2E9A54 #2E3E9A #9A2E74
split-complementary
#9A8A2E #2E749A #542E9A
monochromatic
#3C3612 #6B6020 #9A8A2E #C6B23F #D4C56F

Accessibility & contrast

On white

3.47
#9A8A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#9A8A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8A2E
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8A2E#FFFFFF#000000##000000
##9A8A2E1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978621
Deuteranopia (green-blind)
#9C8C33
Tritanopia (blue-blind)
#A68077
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9a8a2e;
/* rgb */ color: rgb(154, 138, 46);
/* oklch */ color: oklch(63.0% 0.112 99.2);
Tailwind
colors: {
  custom: {
    50: '#bbab6c',
    500: '#9a8a2e',
    950: '#000000',
  },
}
SCSS
$custom: #9a8a2e;
$custom-light: #bbab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8a2e",
  "rgb": {
    "r": 154,
    "g": 138,
    "b": 46
  },
  "hsl": {
    "h": 51.111,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.63038,
    "c": 0.11171,
    "h": 99.2
  },
  "luminance": 0.25244
}

Semantic roles & 50–950 ramp

primary
#9A8A2E
secondary
#6975BB
accent
#60DD4A
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9A8A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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