#9A8D2C#9A8D2C

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

Color values

HEX#9A8D2C
RGBrgb(154, 141, 44)
HSLhsl(53, 56%, 39%)
HSVhsv(53, 71%, 60%)
CMYKcmyk(0%, 8.4%, 71.4%, 39.6%)
CIE-LABlab(58.13, -6.59, 50.90)
CIE-LCHlch(58.13, 51.33, 97.37°)
OKLaboklab(63.68% -0.0231 0.1134)
OKLCHoklch(63.68% 0.116 101.5)
XYZxyz(23.3070, 26.1026, 6.1930)
Luminance0.2610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8D2C #2C399A
analogous
#9A562C #9A8D2C #709A2C
triadic
#9A8D2C #2C9A8D #8D2C9A
tetradic
#9A8D2C #2C9A56 #2C399A #9A2C70
square
#9A8D2C #2C9A56 #2C399A #9A2C70
split-complementary
#9A8D2C #2C709A #562C9A
monochromatic
#3B3611 #6A611E #9A8D2C #C7B73C #D5C86C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A8D2C#FFFFFF#000000##000000
##9A8D2C1.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)
#9A891D
Deuteranopia (green-blind)
#9E8E32
Tritanopia (blue-blind)
#A6837A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9a8d2c;
/* rgb */ color: rgb(154, 141, 44);
/* oklch */ color: oklch(63.7% 0.116 101.5);
Tailwind
colors: {
  custom: {
    50: '#bbae6b',
    500: '#9a8d2c',
    950: '#000000',
  },
}
SCSS
$custom: #9a8d2c;
$custom-light: #bbae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8d2c",
  "rgb": {
    "r": 154,
    "g": 141,
    "b": 44
  },
  "hsl": {
    "h": 52.909,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63684,
    "c": 0.11572,
    "h": 101.5
  },
  "luminance": 0.26102
}

Semantic roles & 50–950 ramp

primary
#9A8D2C
secondary
#6670BC
accent
#5BDF49
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9A8D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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