#8A9537#8A9537

#8A9537 is a light, moderate yellow. Relative luminance 0.272; OKLCH L 64.2% C 0.119 H 115.5°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8A9537
RGBrgb(138, 149, 55)
HSLhsl(67, 46%, 40%)
HSVhsv(67, 63%, 58%)
CMYKcmyk(7.4%, 0%, 63.1%, 41.6%)
CIE-LABlab(59.14, -17.24, 46.82)
CIE-LCHlch(59.14, 49.90, 110.22°)
OKLaboklab(64.18% -0.051 0.107)
OKLCHoklch(64.18% 0.119 115.5)
XYZxyz(21.9187, 27.1743, 7.7042)
Luminance0.2717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9537 #423795
analogous
#957137 #8A9537 #5B9537
triadic
#8A9537 #378A95 #95378A
tetradic
#8A9537 #379571 #423795 #95375B
square
#8A9537 #379571 #423795 #95375B
split-complementary
#8A9537 #375B95 #713795
monochromatic
#373C16 #616827 #8A9537 #B0BD4C #C4CD79

Accessibility & contrast

On white

3.26
#8A9537 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#8A9537 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9537
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9537#FFFFFF#000000##000000
##8A95371.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8E2C
Deuteranopia (green-blind)
#9E8F3D
Tritanopia (blue-blind)
#928D81
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a9537;
/* rgb */ color: rgb(138, 149, 55);
/* oklch */ color: oklch(64.2% 0.119 115.5);
Tailwind
colors: {
  custom: {
    50: '#aeb472',
    500: '#8a9537',
    950: '#000000',
  },
}
SCSS
$custom: #8a9537;
$custom-light: #aeb472;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9537",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 55
  },
  "hsl": {
    "h": 67.021,
    "s": 46.078,
    "l": 40
  },
  "oklch": {
    "l": 0.64177,
    "c": 0.11855,
    "h": 115.5
  },
  "luminance": 0.27174
}

Semantic roles & 50–950 ramp

primary
#8A9537
secondary
#7971B6
accent
#52D661
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9537

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

Preview Lab → · Contrast checker → · Palette generator →

#8A9537 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva