#9A8D2B#9A8D2B

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

Color values

HEX#9A8D2B
RGBrgb(154, 141, 43)
HSLhsl(53, 56%, 39%)
HSVhsv(53, 72%, 60%)
CMYKcmyk(0%, 8.4%, 72.1%, 39.6%)
CIE-LABlab(58.13, -6.64, 51.30)
CIE-LCHlch(58.13, 51.73, 97.37°)
OKLaboklab(63.68% -0.0234 0.114)
OKLCHoklch(63.68% 0.116 101.6)
XYZxyz(23.2884, 26.0952, 6.0952)
Luminance0.2609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8D2B #2B389A
analogous
#9A552B #9A8D2B #6F9A2B
triadic
#9A8D2B #2B9A8D #8D2B9A
tetradic
#9A8D2B #2B9A55 #2B389A #9A2B6F
square
#9A8D2B #2B9A55 #2B389A #9A2B6F
split-complementary
#9A8D2B #2B6F9A #552B9A
monochromatic
#3A3510 #6A611E #9A8D2B #C8B73A #D5C96A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A8D2B#FFFFFF#000000##000000
##9A8D2B1.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)
#9A891C
Deuteranopia (green-blind)
#9E8E31
Tritanopia (blue-blind)
#A6837A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9a8d2b;
/* rgb */ color: rgb(154, 141, 43);
/* oklch */ color: oklch(63.7% 0.116 101.6);
Tailwind
colors: {
  custom: {
    50: '#bbae6b',
    500: '#9a8d2b',
    950: '#000000',
  },
}
SCSS
$custom: #9a8d2b;
$custom-light: #bbae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8d2b",
  "rgb": {
    "r": 154,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 52.973,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63676,
    "c": 0.11641,
    "h": 101.6
  },
  "luminance": 0.26094
}

Semantic roles & 50–950 ramp

primary
#9A8D2B
secondary
#656FBC
accent
#5AE048
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9A8D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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