#9C8338#9C8338

#9C8338 is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.8% C 0.099 H 90.8°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9C8338
RGBrgb(156, 131, 56)
HSLhsl(45, 47%, 42%)
HSVhsv(45, 64%, 61%)
CMYKcmyk(0%, 16%, 64.1%, 38.8%)
CIE-LABlab(55.67, 0.56, 43.05)
CIE-LCHlch(55.67, 43.05, 89.25°)
OKLaboklab(61.81% -0.0013 0.0987)
OKLCHoklch(61.81% 0.099 90.8)
XYZxyz(22.5415, 23.5873, 7.1061)
Luminance0.2359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8338 #38519C
analogous
#9C5138 #9C8338 #839C38
triadic
#9C8338 #389C83 #83389C
tetradic
#9C8338 #389C51 #38519C #9C3883
square
#9C8338 #389C51 #38519C #9C3883
split-complementary
#9C8338 #38839C #51389C
monochromatic
#423718 #6F5D28 #9C8338 #C0A551 #D1BC7E

Accessibility & contrast

On white

3.67
#9C8338 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#9C8338 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8338
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8338#FFFFFF#000000##000000
##9C83381.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918130
Deuteranopia (green-blind)
#97883B
Tritanopia (blue-blind)
#A87973
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9c8338;
/* rgb */ color: rgb(156, 131, 56);
/* oklch */ color: oklch(61.8% 0.099 90.8);
Tailwind
colors: {
  custom: {
    50: '#bca672',
    500: '#9c8338',
    950: '#000000',
  },
}
SCSS
$custom: #9c8338;
$custom-light: #bca672;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8338",
  "rgb": {
    "r": 156,
    "g": 131,
    "b": 56
  },
  "hsl": {
    "h": 45,
    "s": 47.17,
    "l": 41.569
  },
  "oklch": {
    "l": 0.61814,
    "c": 0.09872,
    "h": 90.8
  },
  "luminance": 0.23586
}

Semantic roles & 50–950 ramp

primary
#9C8338
secondary
#7687BA
accent
#72D751
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B

Preview Lab

Preview with #9C8338

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

Preview Lab → · Contrast checker → · Palette generator →

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