#9A8D2A#9A8D2A

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

Color values

HEX#9A8D2A
RGBrgb(154, 141, 42)
HSLhsl(53, 57%, 38%)
HSVhsv(53, 73%, 60%)
CMYKcmyk(0%, 8.4%, 72.7%, 39.6%)
CIE-LABlab(58.12, -6.69, 51.69)
CIE-LCHlch(58.12, 52.12, 97.38°)
OKLaboklab(63.67% -0.0236 0.1147)
OKLCHoklch(63.67% 0.117 101.6)
XYZxyz(23.2703, 26.0880, 5.9998)
Luminance0.2609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8D2A #2A379A
analogous
#9A552A #9A8D2A #6F9A2A
triadic
#9A8D2A #2A9A8D #8D2A9A
tetradic
#9A8D2A #2A9A55 #2A379A #9A2A6F
square
#9A8D2A #2A9A55 #2A379A #9A2A6F
split-complementary
#9A8D2A #2A6F9A #552A9A
monochromatic
#3A3510 #6A611D #9A8D2A #C9B838 #D6C968

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A8D2A#FFFFFF#000000##000000
##9A8D2A1.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)
#9A891A
Deuteranopia (green-blind)
#9E8E30
Tritanopia (blue-blind)
#A68379
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9a8d2a;
/* rgb */ color: rgb(154, 141, 42);
/* oklch */ color: oklch(63.7% 0.117 101.6);
Tailwind
colors: {
  custom: {
    50: '#bbae6a',
    500: '#9a8d2a',
    950: '#000000',
  },
}
SCSS
$custom: #9a8d2a;
$custom-light: #bbae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8d2a",
  "rgb": {
    "r": 154,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 53.036,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63669,
    "c": 0.11708,
    "h": 101.6
  },
  "luminance": 0.26087
}

Semantic roles & 50–950 ramp

primary
#9A8D2A
secondary
#636EBC
accent
#59E047
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9A8D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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