#8A9130#8A9130

#8A9130 is a light, moderate yellow. Relative luminance 0.259; OKLCH L 63.2% C 0.119 H 113.3°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8A9130
RGBrgb(138, 145, 48)
HSLhsl(64, 50%, 38%)
HSVhsv(64, 67%, 57%)
CMYKcmyk(4.8%, 0%, 66.9%, 43.1%)
CIE-LABlab(57.91, -15.64, 48.57)
CIE-LCHlch(57.91, 51.03, 107.85°)
OKLaboklab(63.18% -0.0472 0.1097)
OKLCHoklch(63.18% 0.119 113.3)
XYZxyz(21.1407, 25.8679, 6.6751)
Luminance0.2587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9130 #373091
analogous
#916730 #8A9130 #599130
triadic
#8A9130 #308A91 #91308A
tetradic
#8A9130 #309167 #373091 #913059
square
#8A9130 #309167 #373091 #913059
split-complementary
#8A9130 #305991 #673091
monochromatic
#323512 #5E6321 #8A9130 #B6BF3F #C8CF6D

Accessibility & contrast

On white

3.40
#8A9130 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#8A9130 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9130
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9130#FFFFFF#000000##000000
##8A91301.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A23
Deuteranopia (green-blind)
#9C8C37
Tritanopia (blue-blind)
#93887D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a9130;
/* rgb */ color: rgb(138, 145, 48);
/* oklch */ color: oklch(63.2% 0.119 113.3);
Tailwind
colors: {
  custom: {
    50: '#afb16e',
    500: '#8a9130',
    950: '#000000',
  },
}
SCSS
$custom: #8a9130;
$custom-light: #afb16e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9130",
  "rgb": {
    "r": 138,
    "g": 145,
    "b": 48
  },
  "hsl": {
    "h": 64.33,
    "s": 50.259,
    "l": 37.843
  },
  "oklch": {
    "l": 0.63178,
    "c": 0.11941,
    "h": 113.3
  },
  "luminance": 0.25867
}

Semantic roles & 50–950 ramp

primary
#8A9130
secondary
#6D67B6
accent
#4EDA58
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A9130

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

Preview Lab → · Contrast checker → · Palette generator →

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