#8A9539#8A9539

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

Color values

HEX#8A9539
RGBrgb(138, 149, 57)
HSLhsl(67, 45%, 40%)
HSVhsv(67, 62%, 58%)
CMYKcmyk(7.4%, 0%, 61.7%, 41.6%)
CIE-LABlab(59.15, -17.09, 45.94)
CIE-LCHlch(59.15, 49.02, 110.41°)
OKLaboklab(64.2% -0.0503 0.1054)
OKLCHoklch(64.2% 0.117 115.5)
XYZxyz(21.9677, 27.1939, 7.9618)
Luminance0.2719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9539 #443995
analogous
#957239 #8A9539 #5C9539
triadic
#8A9539 #398A95 #95398A
tetradic
#8A9539 #399572 #443995 #95395C
square
#8A9539 #399572 #443995 #95395C
split-complementary
#8A9539 #395C95 #723995
monochromatic
#383C17 #616928 #8A9539 #AFBC4F #C3CD7C

Accessibility & contrast

On white

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

On black

6.44
#8A9539 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9539
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9539#FFFFFF#000000##000000
##8A95391.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8E2E
Deuteranopia (green-blind)
#9E8F3F
Tritanopia (blue-blind)
#928D82
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a9539;
/* rgb */ color: rgb(138, 149, 57);
/* oklch */ color: oklch(64.2% 0.117 115.5);
Tailwind
colors: {
  custom: {
    50: '#aeb473',
    500: '#8a9539',
    950: '#000000',
  },
}
SCSS
$custom: #8a9539;
$custom-light: #aeb473;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9539",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 57
  },
  "hsl": {
    "h": 67.174,
    "s": 44.66,
    "l": 40.392
  },
  "oklch": {
    "l": 0.64198,
    "c": 0.11684,
    "h": 115.5
  },
  "luminance": 0.27194
}

Semantic roles & 50–950 ramp

primary
#8A9539
secondary
#7C74B6
accent
#53D463
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9539

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

Preview Lab → · Contrast checker → · Palette generator →

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