#9A8B3D#9A8B3D

#9A8B3D is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.4% C 0.100 H 98.5°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9A8B3D
RGBrgb(154, 139, 61)
HSLhsl(50, 43%, 42%)
HSVhsv(50, 60%, 60%)
CMYKcmyk(0%, 9.7%, 60.4%, 39.6%)
CIE-LABlab(57.73, -4.40, 42.87)
CIE-LCHlch(57.73, 43.10, 95.86°)
OKLaboklab(63.41% -0.0148 0.0991)
OKLCHoklch(63.41% 0.1 98.5)
XYZxyz(23.4023, 25.6732, 8.1367)
Luminance0.2567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8B3D #3D4C9A
analogous
#9A5D3D #9A8B3D #7A9A3D
triadic
#9A8B3D #3D9A8B #8B3D9A
tetradic
#9A8B3D #3D9A5D #3D4C9A #9A3D7A
square
#9A8B3D #3D9A5D #3D4C9A #9A3D7A
split-complementary
#9A8B3D #3D7A9A #5D3D9A
monochromatic
#423C1A #6E632C #9A8B3D #BDAC58 #CEC283

Accessibility & contrast

On white

3.42
#9A8B3D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#9A8B3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8B3D
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8B3D#FFFFFF#000000##000000
##9A8B3D1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#978835
Deuteranopia (green-blind)
#9C8D41
Tritanopia (blue-blind)
#A5827A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9a8b3d;
/* rgb */ color: rgb(154, 139, 61);
/* oklch */ color: oklch(63.4% 0.100 98.5);
Tailwind
colors: {
  custom: {
    50: '#baac75',
    500: '#9a8b3d',
    950: '#000000',
  },
}
SCSS
$custom: #9a8b3d;
$custom-light: #baac75;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8b3d",
  "rgb": {
    "r": 154,
    "g": 139,
    "b": 61
  },
  "hsl": {
    "h": 50.323,
    "s": 43.256,
    "l": 42.157
  },
  "oklch": {
    "l": 0.63407,
    "c": 0.10019,
    "h": 98.5
  },
  "luminance": 0.25672
}

Semantic roles & 50–950 ramp

primary
#9A8B3D
secondary
#7B85B8
accent
#69D355
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9A8B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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