#9A8725#9A8725

#9A8725 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.3% C 0.115 H 97.8°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9A8725
RGBrgb(154, 135, 37)
HSLhsl(50, 61%, 37%)
HSVhsv(50, 76%, 60%)
CMYKcmyk(0%, 12.3%, 76%, 39.6%)
CIE-LABlab(56.42, -3.65, 51.97)
CIE-LCHlch(56.42, 52.10, 94.02°)
OKLaboklab(62.31% -0.0156 0.1143)
OKLCHoklch(62.31% 0.115 97.8)
XYZxyz(22.3255, 24.3327, 5.2706)
Luminance0.2433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8725 #25389A
analogous
#9A4C25 #9A8725 #739A25
triadic
#9A8725 #259A87 #87259A
tetradic
#9A8725 #259A4C #25389A #9A2573
square
#9A8725 #259A4C #25389A #9A2573
split-complementary
#9A8725 #25739A #4C259A
monochromatic
#37300D #695C19 #9A8725 #CBB231 #D9C560

Accessibility & contrast

On white

3.58
#9A8725 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#9A8725 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8725
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8725#FFFFFF#000000##000000
##9A87251.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958413
Deuteranopia (green-blind)
#9A8A2B
Tritanopia (blue-blind)
#A67C74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9a8725;
/* rgb */ color: rgb(154, 135, 37);
/* oklch */ color: oklch(62.3% 0.115 97.8);
Tailwind
colors: {
  custom: {
    50: '#bba967',
    500: '#9a8725',
    950: '#000000',
  },
}
SCSS
$custom: #9a8725;
$custom-light: #bba967;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8725",
  "rgb": {
    "r": 154,
    "g": 135,
    "b": 37
  },
  "hsl": {
    "h": 50.256,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62309,
    "c": 0.11535,
    "h": 97.8
  },
  "luminance": 0.24332
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A8725

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

Preview Lab → · Contrast checker → · Palette generator →

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