#6A8431#6A8431

#6A8431 is a mid, moderate yellow-green. Relative luminance 0.198; OKLCH L 57.5% C 0.114 H 124.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#6A8431
RGBrgb(106, 132, 49)
HSLhsl(79, 46%, 35%)
HSVhsv(79, 63%, 52%)
CMYKcmyk(19.7%, 0%, 62.9%, 48.2%)
CIE-LABlab(51.60, -22.68, 40.66)
CIE-LCHlch(51.60, 46.56, 119.15°)
OKLaboklab(57.5% -0.0647 0.0938)
OKLCHoklch(57.5% 0.114 124.6)
XYZxyz(14.7496, 19.7883, 5.9476)
Luminance0.1979 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8431 #4B3184
analogous
#847431 #6A8431 #418431
triadic
#6A8431 #316A84 #84316A
tetradic
#6A8431 #318474 #4B3184 #843141
square
#6A8431 #318474 #4B3184 #843141
split-complementary
#6A8431 #314184 #743184
monochromatic
#222B10 #465720 #6A8431 #8EB142 #A9C768

Accessibility & contrast

On white

4.24
#6A8431 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#6A8431 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8431
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8431#FFFFFF#000000##000000
##6A84311.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C27
Deuteranopia (green-blind)
#887B37
Tritanopia (blue-blind)
#6F7E72
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6a8431;
/* rgb */ color: rgb(106, 132, 49);
/* oklch */ color: oklch(57.5% 0.114 124.6);
Tailwind
colors: {
  custom: {
    50: '#97a76d',
    500: '#6a8431',
    950: '#000000',
  },
}
SCSS
$custom: #6a8431;
$custom-light: #97a76d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8431",
  "rgb": {
    "r": 106,
    "g": 132,
    "b": 49
  },
  "hsl": {
    "h": 78.795,
    "s": 45.856,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57496,
    "c": 0.11398,
    "h": 124.6
  },
  "luminance": 0.19788
}

Semantic roles & 50–950 ramp

primary
#6A8431
secondary
#7A62AE
accent
#52D67B
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E0F07
muted
#7E7F7A

Preview Lab

Preview with #6A8431

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

Preview Lab → · Contrast checker → · Palette generator →

#6A8431 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva