#9C8123#9C8123

#9C8123 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.2% C 0.113 H 92.1°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9C8123
RGBrgb(156, 129, 35)
HSLhsl(47, 63%, 37%)
HSVhsv(47, 78%, 61%)
CMYKcmyk(0%, 17.3%, 77.6%, 38.8%)
CIE-LABlab(54.96, 0.50, 51.42)
CIE-LCHlch(54.96, 51.42, 89.44°)
OKLaboklab(61.2% -0.0041 0.1126)
OKLCHoklch(61.2% 0.113 92.1)
XYZxyz(21.8652, 22.8911, 4.8565)
Luminance0.2289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8123 #233E9C
analogous
#9C4523 #9C8123 #7A9C23
triadic
#9C8123 #239C81 #81239C
tetradic
#9C8123 #239C45 #233E9C #9C237A
square
#9C8123 #239C45 #233E9C #9C237A
split-complementary
#9C8123 #237A9C #45239C
monochromatic
#382E0D #6A5818 #9C8123 #CEAA2E #DBBF5E

Accessibility & contrast

On white

3.76
#9C8123 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#9C8123 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8123
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8123#FFFFFF#000000##000000
##9C81231.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F12
Deuteranopia (green-blind)
#968729
Tritanopia (blue-blind)
#A9766F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9c8123;
/* rgb */ color: rgb(156, 129, 35);
/* oklch */ color: oklch(61.2% 0.113 92.1);
Tailwind
colors: {
  custom: {
    50: '#bda565',
    500: '#9c8123',
    950: '#000000',
  },
}
SCSS
$custom: #9c8123;
$custom-light: #bda565;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8123",
  "rgb": {
    "r": 156,
    "g": 129,
    "b": 35
  },
  "hsl": {
    "h": 46.612,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61198,
    "c": 0.11268,
    "h": 92.1
  },
  "luminance": 0.2289
}

Semantic roles & 50–950 ramp

primary
#9C8123
secondary
#5B72C0
accent
#66E641
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C8123

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

Preview Lab → · Contrast checker → · Palette generator →

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