#9A8124#9A8124

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

Color values

HEX#9A8124
RGBrgb(154, 129, 36)
HSLhsl(47, 62%, 37%)
HSVhsv(47, 77%, 60%)
CMYKcmyk(0%, 16.2%, 76.6%, 39.6%)
CIE-LABlab(54.76, -0.37, 50.78)
CIE-LCHlch(54.76, 50.78, 90.42°)
OKLaboklab(61% -0.0063 0.1116)
OKLCHoklch(61% 0.112 93.3)
XYZxyz(21.4963, 22.6992, 4.9179)
Luminance0.2270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8124 #243D9A
analogous
#9A4624 #9A8124 #789A24
triadic
#9A8124 #249A81 #81249A
tetradic
#9A8124 #249A46 #243D9A #9A2478
square
#9A8124 #249A46 #243D9A #9A2478
split-complementary
#9A8124 #24789A #46249A
monochromatic
#372E0D #685718 #9A8124 #CCAB30 #DAC05F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A8124#FFFFFF#000000##000000
##9A81241.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)
#8F7F13
Deuteranopia (green-blind)
#96862A
Tritanopia (blue-blind)
#A7766F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9a8124;
/* rgb */ color: rgb(154, 129, 36);
/* oklch */ color: oklch(61.0% 0.112 93.3);
Tailwind
colors: {
  custom: {
    50: '#bca566',
    500: '#9a8124',
    950: '#000000',
  },
}
SCSS
$custom: #9a8124;
$custom-light: #bca566;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8124",
  "rgb": {
    "r": 154,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 47.288,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.60995,
    "c": 0.11173,
    "h": 93.3
  },
  "luminance": 0.22698
}

Semantic roles & 50–950 ramp

primary
#9A8124
secondary
#5B70BF
accent
#65E543
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #9A8124

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

Preview Lab → · Contrast checker → · Palette generator →

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