#9A8625#9A8625

#9A8625 is a light, moderate yellow. Relative luminance 0.241; OKLCH L 62.1% C 0.115 H 97.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9A8625
RGBrgb(154, 134, 37)
HSLhsl(50, 61%, 37%)
HSVhsv(50, 76%, 60%)
CMYKcmyk(0%, 13%, 76%, 39.6%)
CIE-LABlab(56.14, -3.10, 51.71)
CIE-LCHlch(56.14, 51.80, 93.43°)
OKLaboklab(62.09% -0.014 0.1137)
OKLCHoklch(62.09% 0.115 97)
XYZxyz(22.1866, 24.0550, 5.2244)
Luminance0.2405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8625 #25399A
analogous
#9A4C25 #9A8625 #739A25
triadic
#9A8625 #259A86 #86259A
tetradic
#9A8625 #259A4C #25399A #9A2573
square
#9A8625 #259A4C #25399A #9A2573
split-complementary
#9A8625 #25739A #4C259A
monochromatic
#37300D #695B19 #9A8625 #CBB131 #D9C460

Accessibility & contrast

On white

3.61
#9A8625 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#9A8625 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8625
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8625#FFFFFF#000000##000000
##9A86251.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948313
Deuteranopia (green-blind)
#99892B
Tritanopia (blue-blind)
#A77B73
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9a8625;
/* rgb */ color: rgb(154, 134, 37);
/* oklch */ color: oklch(62.1% 0.115 97.0);
Tailwind
colors: {
  custom: {
    50: '#bba867',
    500: '#9a8625',
    950: '#000000',
  },
}
SCSS
$custom: #9a8625;
$custom-light: #bba867;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8625",
  "rgb": {
    "r": 154,
    "g": 134,
    "b": 37
  },
  "hsl": {
    "h": 49.744,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.6209,
    "c": 0.1146,
    "h": 97
  },
  "luminance": 0.24054
}

Semantic roles & 50–950 ramp

primary
#9A8625
secondary
#5D6DBE
accent
#5FE443
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #9A8625

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

Preview Lab → · Contrast checker → · Palette generator →

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