#9C8B30#9C8B30

#9C8B30 is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.5% C 0.111 H 98.5°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#9C8B30
RGBrgb(156, 139, 48)
HSLhsl(51, 53%, 40%)
HSVhsv(51, 69%, 61%)
CMYKcmyk(0%, 10.9%, 69.2%, 38.8%)
CIE-LABlab(57.80, -4.37, 48.95)
CIE-LCHlch(57.80, 49.15, 95.10°)
OKLaboklab(63.47% -0.0165 0.1099)
OKLCHoklch(63.47% 0.111 98.5)
XYZxyz(23.4775, 25.7477, 6.5289)
Luminance0.2575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8B30 #30419C
analogous
#9C5530 #9C8B30 #779C30
triadic
#9C8B30 #309C8B #8B309C
tetradic
#9C8B30 #309C55 #30419C #9C3077
square
#9C8B30 #309C55 #30419C #9C3077
split-complementary
#9C8B30 #30779C #55309C
monochromatic
#3E3813 #6D6122 #9C8B30 #C5B144 #D4C573

Accessibility & contrast

On white

3.41
#9C8B30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#9C8B30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8B30
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8B30#FFFFFF#000000##000000
##9C8B301.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998724
Deuteranopia (green-blind)
#9D8D35
Tritanopia (blue-blind)
#A88178
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8b30;
/* rgb */ color: rgb(156, 139, 48);
/* oklch */ color: oklch(63.5% 0.111 98.5);
Tailwind
colors: {
  custom: {
    50: '#bcac6e',
    500: '#9c8b30',
    950: '#000000',
  },
}
SCSS
$custom: #9c8b30;
$custom-light: #bcac6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8b30",
  "rgb": {
    "r": 156,
    "g": 139,
    "b": 48
  },
  "hsl": {
    "h": 50.556,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.63471,
    "c": 0.11116,
    "h": 98.5
  },
  "luminance": 0.25747
}

Semantic roles & 50–950 ramp

primary
#9C8B30
secondary
#6C79BC
accent
#62DC4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8B30

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

Preview Lab → · Contrast checker → · Palette generator →

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