#9A8335#9A8335

#9A8335 is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.6% C 0.101 H 92.7°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#9A8335
RGBrgb(154, 131, 53)
HSLhsl(46, 49%, 41%)
HSVhsv(46, 66%, 60%)
CMYKcmyk(0%, 14.9%, 65.6%, 39.6%)
CIE-LABlab(55.44, -0.54, 44.17)
CIE-LCHlch(55.44, 44.17, 90.70°)
OKLaboklab(61.58% -0.0048 0.1007)
OKLCHoklch(61.58% 0.101 92.7)
XYZxyz(22.0864, 23.3608, 6.7132)
Luminance0.2336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8335 #354C9A
analogous
#9A5135 #9A8335 #7E9A35
triadic
#9A8335 #359A83 #83359A
tetradic
#9A8335 #359A51 #354C9A #9A357E
square
#9A8335 #359A51 #354C9A #9A357E
split-complementary
#9A8335 #357E9A #51359A
monochromatic
#3F3616 #6C5C25 #9A8335 #C1A64B #D1BD79

Accessibility & contrast

On white

3.70
#9A8335 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#9A8335 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8335
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8335#FFFFFF#000000##000000
##9A83351.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90812C
Deuteranopia (green-blind)
#968839
Tritanopia (blue-blind)
#A67972
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9a8335;
/* rgb */ color: rgb(154, 131, 53);
/* oklch */ color: oklch(61.6% 0.101 92.7);
Tailwind
colors: {
  custom: {
    50: '#bba670',
    500: '#9a8335',
    950: '#000000',
  },
}
SCSS
$custom: #9a8335;
$custom-light: #bba670;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8335",
  "rgb": {
    "r": 154,
    "g": 131,
    "b": 53
  },
  "hsl": {
    "h": 46.337,
    "s": 48.792,
    "l": 40.588
  },
  "oklch": {
    "l": 0.61576,
    "c": 0.10079,
    "h": 92.7
  },
  "luminance": 0.2336
}

Semantic roles & 50–950 ramp

primary
#9A8335
secondary
#7182B9
accent
#6FD84F
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F08
muted
#817F7B

Preview Lab

Preview with #9A8335

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

Preview Lab → · Contrast checker → · Palette generator →

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