#9A8121#9A8121

#9A8121 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 61.0% C 0.113 H 93.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9A8121
RGBrgb(154, 129, 33)
HSLhsl(48, 65%, 37%)
HSVhsv(48, 79%, 60%)
CMYKcmyk(0%, 16.2%, 78.6%, 39.6%)
CIE-LABlab(54.74, -0.50, 51.88)
CIE-LCHlch(54.74, 51.88, 90.55°)
OKLaboklab(60.98% -0.007 0.1133)
OKLCHoklch(60.98% 0.113 93.6)
XYZxyz(21.4524, 22.6816, 4.6866)
Luminance0.2268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8121 #213A9A
analogous
#9A4421 #9A8121 #779A21
triadic
#9A8121 #219A81 #81219A
tetradic
#9A8121 #219A44 #213A9A #9A2177
square
#9A8121 #219A44 #213A9A #9A2177
split-complementary
#9A8121 #21779A #44219A
monochromatic
#352D0B #685716 #9A8121 #CCAB2C #DCC15A

Accessibility & contrast

On white

3.79
#9A8121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#9A8121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8121
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8121#FFFFFF#000000##000000
##9A81211.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0D
Deuteranopia (green-blind)
#968627
Tritanopia (blue-blind)
#A7766F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9a8121;
/* rgb */ color: rgb(154, 129, 33);
/* oklch */ color: oklch(61.0% 0.113 93.6);
Tailwind
colors: {
  custom: {
    50: '#bca564',
    500: '#9a8121',
    950: '#000000',
  },
}
SCSS
$custom: #9a8121;
$custom-light: #bca564;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8121",
  "rgb": {
    "r": 154,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 47.603,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60975,
    "c": 0.11349,
    "h": 93.6
  },
  "luminance": 0.2268
}

Semantic roles & 50–950 ramp

primary
#9A8121
secondary
#576DC0
accent
#63E840
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #9A8121

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

Preview Lab → · Contrast checker → · Palette generator →

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