#6A8331#6A8331

#6A8331 is a mid, moderate yellow-green. Relative luminance 0.195; OKLCH L 57.2% C 0.113 H 124.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#6A8331
RGBrgb(106, 131, 49)
HSLhsl(78, 46%, 35%)
HSVhsv(78, 63%, 51%)
CMYKcmyk(19.1%, 0%, 62.6%, 48.6%)
CIE-LABlab(51.29, -22.17, 40.32)
CIE-LCHlch(51.29, 46.01, 118.80°)
OKLaboklab(57.25% -0.0633 0.0931)
OKLCHoklch(57.25% 0.113 124.2)
XYZxyz(14.6146, 19.5184, 5.9026)
Luminance0.1952 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8331 #4A3183
analogous
#837331 #6A8331 #418331
triadic
#6A8331 #316A83 #83316A
tetradic
#6A8331 #318373 #4A3183 #833141
square
#6A8331 #318373 #4A3183 #833141
split-complementary
#6A8331 #314183 #733183
monochromatic
#222A10 #465620 #6A8331 #8EB042 #AAC668

Accessibility & contrast

On white

4.28
#6A8331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#6A8331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8331
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8331#FFFFFF#000000##000000
##6A83311.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B28
Deuteranopia (green-blind)
#877A37
Tritanopia (blue-blind)
#6F7D72
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6a8331;
/* rgb */ color: rgb(106, 131, 49);
/* oklch */ color: oklch(57.2% 0.113 124.2);
Tailwind
colors: {
  custom: {
    50: '#97a76d',
    500: '#6a8331',
    950: '#000000',
  },
}
SCSS
$custom: #6a8331;
$custom-light: #97a76d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8331",
  "rgb": {
    "r": 106,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 78.293,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57246,
    "c": 0.11259,
    "h": 124.2
  },
  "luminance": 0.19519
}

Semantic roles & 50–950 ramp

primary
#6A8331
secondary
#7962AE
accent
#53D57A
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E0F07
muted
#7E7F7A

Preview Lab

Preview with #6A8331

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

Preview Lab → · Contrast checker → · Palette generator →

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