#9A8D2D#9A8D2D

#9A8D2D is a light, moderate yellow. Relative luminance 0.261; OKLCH L 63.7% C 0.115 H 101.5°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#9A8D2D
RGBrgb(154, 141, 45)
HSLhsl(53, 55%, 39%)
HSVhsv(53, 71%, 60%)
CMYKcmyk(0%, 8.4%, 70.8%, 39.6%)
CIE-LABlab(58.14, -6.53, 50.50)
CIE-LCHlch(58.14, 50.92, 97.37°)
OKLaboklab(63.69% -0.0229 0.1127)
OKLCHoklch(63.69% 0.115 101.5)
XYZxyz(23.3260, 26.1103, 6.2932)
Luminance0.2611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8D2D #2D3A9A
analogous
#9A572D #9A8D2D #719A2D
triadic
#9A8D2D #2D9A8D #8D2D9A
tetradic
#9A8D2D #2D9A57 #2D3A9A #9A2D71
square
#9A8D2D #2D9A57 #2D3A9A #9A2D71
split-complementary
#9A8D2D #2D719A #572D9A
monochromatic
#3B3611 #6B621F #9A8D2D #C7B63E #D4C86D

Accessibility & contrast

On white

3.38
#9A8D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#9A8D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8D2D
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8D2D#FFFFFF#000000##000000
##9A8D2D1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A891F
Deuteranopia (green-blind)
#9E8E33
Tritanopia (blue-blind)
#A6837A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9a8d2d;
/* rgb */ color: rgb(154, 141, 45);
/* oklch */ color: oklch(63.7% 0.115 101.5);
Tailwind
colors: {
  custom: {
    50: '#bbae6c',
    500: '#9a8d2d',
    950: '#000000',
  },
}
SCSS
$custom: #9a8d2d;
$custom-light: #bbae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8d2d",
  "rgb": {
    "r": 154,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 52.844,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63692,
    "c": 0.11502,
    "h": 101.5
  },
  "luminance": 0.26109
}

Semantic roles & 50–950 ramp

primary
#9A8D2D
secondary
#6771BB
accent
#5BDE4A
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9A8D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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