#9A8D2E#9A8D2E

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

Color values

HEX#9A8D2E
RGBrgb(154, 141, 46)
HSLhsl(53, 54%, 39%)
HSVhsv(53, 70%, 60%)
CMYKcmyk(0%, 8.4%, 70.1%, 39.6%)
CIE-LABlab(58.15, -6.48, 50.10)
CIE-LCHlch(58.15, 50.51, 97.37°)
OKLaboklab(63.7% -0.0226 0.1121)
OKLCHoklch(63.7% 0.114 101.4)
XYZxyz(23.3455, 26.1180, 6.3958)
Luminance0.2612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8D2E #2E3B9A
analogous
#9A572E #9A8D2E #719A2E
triadic
#9A8D2E #2E9A8D #8D2E9A
tetradic
#9A8D2E #2E9A57 #2E3B9A #9A2E71
square
#9A8D2E #2E9A57 #2E3B9A #9A2E71
split-complementary
#9A8D2E #2E719A #572E9A
monochromatic
#3C3712 #6B6220 #9A8D2E #C6B63F #D4C86F

Accessibility & contrast

On white

3.37
#9A8D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A8D2E#FFFFFF#000000##000000
##9A8D2E1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8920
Deuteranopia (green-blind)
#9E8E34
Tritanopia (blue-blind)
#A6837A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9a8d2e;
/* rgb */ color: rgb(154, 141, 46);
/* oklch */ color: oklch(63.7% 0.114 101.4);
Tailwind
colors: {
  custom: {
    50: '#bbae6d',
    500: '#9a8d2e',
    950: '#000000',
  },
}
SCSS
$custom: #9a8d2e;
$custom-light: #bbae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8d2e",
  "rgb": {
    "r": 154,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 52.778,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.63701,
    "c": 0.1143,
    "h": 101.4
  },
  "luminance": 0.26117
}

Semantic roles & 50–950 ramp

primary
#9A8D2E
secondary
#6973BB
accent
#5CDD4A
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9A8D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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