#9A8B2E#9A8B2E

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

Color values

HEX#9A8B2E
RGBrgb(154, 139, 46)
HSLhsl(52, 54%, 39%)
HSVhsv(52, 70%, 60%)
CMYKcmyk(0%, 9.7%, 70.1%, 39.6%)
CIE-LABlab(57.59, -5.39, 49.53)
CIE-LCHlch(57.59, 49.83, 96.21°)
OKLaboklab(63.26% -0.0195 0.1109)
OKLCHoklch(63.26% 0.113 100)
XYZxyz(23.0532, 25.5336, 6.2984)
Luminance0.2553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8B2E #2E3D9A
analogous
#9A552E #9A8B2E #739A2E
triadic
#9A8B2E #2E9A8B #8B2E9A
tetradic
#9A8B2E #2E9A55 #2E3D9A #9A2E73
square
#9A8B2E #2E9A55 #2E3D9A #9A2E73
split-complementary
#9A8B2E #2E739A #552E9A
monochromatic
#3C3612 #6B6020 #9A8B2E #C6B33F #D4C66F

Accessibility & contrast

On white

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

On black

6.11
#9A8B2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8B2E
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8B2E#FFFFFF#000000##000000
##9A8B2E1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#988721
Deuteranopia (green-blind)
#9C8D34
Tritanopia (blue-blind)
#A68178
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9a8b2e;
/* rgb */ color: rgb(154, 139, 46);
/* oklch */ color: oklch(63.3% 0.113 100.0);
Tailwind
colors: {
  custom: {
    50: '#bbac6c',
    500: '#9a8b2e',
    950: '#000000',
  },
}
SCSS
$custom: #9a8b2e;
$custom-light: #bbac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8b2e",
  "rgb": {
    "r": 154,
    "g": 139,
    "b": 46
  },
  "hsl": {
    "h": 51.667,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.63258,
    "c": 0.11256,
    "h": 100
  },
  "luminance": 0.25533
}

Semantic roles & 50–950 ramp

primary
#9A8B2E
secondary
#6974BB
accent
#5FDD4A
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9A8B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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