#8A9134#8A9134

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

Color values

HEX#8A9134
RGBrgb(138, 145, 52)
HSLhsl(65, 47%, 39%)
HSVhsv(65, 64%, 57%)
CMYKcmyk(4.8%, 0%, 64.1%, 43.1%)
CIE-LABlab(57.94, -15.37, 46.88)
CIE-LCHlch(57.94, 49.33, 108.15°)
OKLaboklab(63.22% -0.046 0.1067)
OKLCHoklch(63.22% 0.116 113.3)
XYZxyz(21.2270, 25.9024, 7.1296)
Luminance0.2590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9134 #3B3491
analogous
#916934 #8A9134 #5B9134
triadic
#8A9134 #348A91 #91348A
tetradic
#8A9134 #349169 #3B3491 #91345B
square
#8A9134 #349169 #3B3491 #91345B
split-complementary
#8A9134 #345B91 #693491
monochromatic
#343714 #5F6424 #8A9134 #B4BD46 #C6CD73

Accessibility & contrast

On white

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

On black

6.18
#8A9134 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9134
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9134#FFFFFF#000000##000000
##8A91341.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A28
Deuteranopia (green-blind)
#9B8C3A
Tritanopia (blue-blind)
#93897E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a9134;
/* rgb */ color: rgb(138, 145, 52);
/* oklch */ color: oklch(63.2% 0.116 113.3);
Tailwind
colors: {
  custom: {
    50: '#afb170',
    500: '#8a9134',
    950: '#000000',
  },
}
SCSS
$custom: #8a9134;
$custom-light: #afb170;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9134",
  "rgb": {
    "r": 138,
    "g": 145,
    "b": 52
  },
  "hsl": {
    "h": 64.516,
    "s": 47.208,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63215,
    "c": 0.11622,
    "h": 113.3
  },
  "luminance": 0.25902
}

Semantic roles & 50–950 ramp

primary
#8A9134
secondary
#716CB5
accent
#51D75B
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A9134

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

Preview Lab → · Contrast checker → · Palette generator →

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