#9A8530#9A8530

#9A8530 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 62.0% C 0.106 H 95.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9A8530
RGBrgb(154, 133, 48)
HSLhsl(48, 52%, 40%)
HSVhsv(48, 69%, 60%)
CMYKcmyk(0%, 13.6%, 68.8%, 39.6%)
CIE-LABlab(55.95, -1.97, 46.98)
CIE-LCHlch(55.95, 47.02, 92.40°)
OKLaboklab(61.96% -0.0095 0.1058)
OKLCHoklch(61.96% 0.106 95.1)
XYZxyz(22.2485, 23.8596, 6.2292)
Luminance0.2386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8530 #30459A
analogous
#9A5030 #9A8530 #7A9A30
triadic
#9A8530 #309A85 #85309A
tetradic
#9A8530 #309A50 #30459A #9A307A
square
#9A8530 #309A50 #30459A #9A307A
split-complementary
#9A8530 #307A9A #50309A
monochromatic
#3D3413 #6B5D21 #9A8530 #C4AB43 #D3C072

Accessibility & contrast

On white

3.64
#9A8530 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#9A8530 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8530
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8530#FFFFFF#000000##000000
##9A85301.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938225
Deuteranopia (green-blind)
#988934
Tritanopia (blue-blind)
#A67B73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9a8530;
/* rgb */ color: rgb(154, 133, 48);
/* oklch */ color: oklch(62.0% 0.106 95.1);
Tailwind
colors: {
  custom: {
    50: '#bba86d',
    500: '#9a8530',
    950: '#000000',
  },
}
SCSS
$custom: #9a8530;
$custom-light: #bba86d;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8530",
  "rgb": {
    "r": 154,
    "g": 133,
    "b": 48
  },
  "hsl": {
    "h": 48.113,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61961,
    "c": 0.10625,
    "h": 95.1
  },
  "luminance": 0.23858
}

Semantic roles & 50–950 ramp

primary
#9A8530
secondary
#6B7BBB
accent
#68DC4C
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9A8530

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

Preview Lab → · Contrast checker → · Palette generator →

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