#9B8124#9B8124

#9B8124 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 61.1% C 0.112 H 92.6°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#9B8124
RGBrgb(155, 129, 36)
HSLhsl(47, 62%, 37%)
HSVhsv(47, 77%, 61%)
CMYKcmyk(0%, 16.8%, 76.8%, 39.2%)
CIE-LABlab(54.86, 0.09, 50.91)
CIE-LCHlch(54.86, 50.91, 89.90°)
OKLaboklab(61.1% -0.0051 0.1118)
OKLCHoklch(61.1% 0.112 92.6)
XYZxyz(21.6875, 22.7977, 4.9268)
Luminance0.2280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8124 #243E9B
analogous
#9B4624 #9B8124 #799B24
triadic
#9B8124 #249B81 #81249B
tetradic
#9B8124 #249B46 #243E9B #9B2479
square
#9B8124 #249B46 #243E9B #9B2479
split-complementary
#9B8124 #24799B #46249B
monochromatic
#382E0D #695818 #9B8124 #CDAA30 #DABF5F

Accessibility & contrast

On white

3.78
#9B8124 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#9B8124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8124
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8124#FFFFFF#000000##000000
##9B81241.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F13
Deuteranopia (green-blind)
#968629
Tritanopia (blue-blind)
#A8766F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9b8124;
/* rgb */ color: rgb(155, 129, 36);
/* oklch */ color: oklch(61.1% 0.112 92.6);
Tailwind
colors: {
  custom: {
    50: '#bca566',
    500: '#9b8124',
    950: '#000000',
  },
}
SCSS
$custom: #9b8124;
$custom-light: #bca566;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8124",
  "rgb": {
    "r": 155,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 46.891,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.611,
    "c": 0.11191,
    "h": 92.6
  },
  "luminance": 0.22796
}

Semantic roles & 50–950 ramp

primary
#9B8124
secondary
#5C72BF
accent
#66E542
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9B8124

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

Preview Lab → · Contrast checker → · Palette generator →

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