#9A8B2D#9A8B2D

#9A8B2D is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.2% C 0.113 H 100.0°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9A8B2D
RGBrgb(154, 139, 45)
HSLhsl(52, 55%, 39%)
HSVhsv(52, 71%, 60%)
CMYKcmyk(0%, 9.7%, 70.8%, 39.6%)
CIE-LABlab(57.58, -5.44, 49.94)
CIE-LCHlch(57.58, 50.24, 96.22°)
OKLaboklab(63.25% -0.0198 0.1115)
OKLCHoklch(63.25% 0.113 100)
XYZxyz(23.0337, 25.5258, 6.1958)
Luminance0.2552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8B2D #2D3C9A
analogous
#9A552D #9A8B2D #739A2D
triadic
#9A8B2D #2D9A8B #8B2D9A
tetradic
#9A8B2D #2D9A55 #2D3C9A #9A2D73
square
#9A8B2D #2D9A55 #2D3C9A #9A2D73
split-complementary
#9A8B2D #2D739A #552D9A
monochromatic
#3B3611 #6B601F #9A8B2D #C7B43E #D4C66D

Accessibility & contrast

On white

3.44
#9A8B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#9A8B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8B2D
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8B2D#FFFFFF#000000##000000
##9A8B2D1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#98871F
Deuteranopia (green-blind)
#9D8D33
Tritanopia (blue-blind)
#A68178
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9a8b2d;
/* rgb */ color: rgb(154, 139, 45);
/* oklch */ color: oklch(63.2% 0.113 100.0);
Tailwind
colors: {
  custom: {
    50: '#bbac6c',
    500: '#9a8b2d',
    950: '#000000',
  },
}
SCSS
$custom: #9a8b2d;
$custom-light: #bbac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8b2d",
  "rgb": {
    "r": 154,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 51.743,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6325,
    "c": 0.11328,
    "h": 100
  },
  "luminance": 0.25525
}

Semantic roles & 50–950 ramp

primary
#9A8B2D
secondary
#6773BB
accent
#5EDE4A
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9A8B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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