#6A9331#6A9331

#6A9331 is a mid, vivid yellow-green. Relative luminance 0.242; OKLCH L 61.3% C 0.135 H 129.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#6A9331
RGBrgb(106, 147, 49)
HSLhsl(85, 50%, 38%)
HSVhsv(85, 67%, 58%)
CMYKcmyk(27.9%, 0%, 66.7%, 42.4%)
CIE-LABlab(56.24, -30.05, 45.69)
CIE-LCHlch(56.24, 54.69, 123.33°)
OKLaboklab(61.26% -0.0851 0.1045)
OKLCHoklch(61.26% 0.135 129.2)
XYZxyz(16.9319, 24.1529, 6.6750)
Luminance0.2415 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A9331 #5A3193
analogous
#938B31 #6A9331 #399331
triadic
#6A9331 #316A93 #93316A
tetradic
#6A9331 #31938B #5A3193 #933139
square
#6A9331 #31938B #5A3193 #933139
split-complementary
#6A9331 #313993 #8B3193
monochromatic
#283712 #496522 #6A9331 #8BC041 #A7CF6F

Accessibility & contrast

On white

3.60
#6A9331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#6A9331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A9331
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A9331#FFFFFF#000000##000000
##6A93311.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8924
Deuteranopia (green-blind)
#948639
Tritanopia (blue-blind)
#6D8D7F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #6a9331;
/* rgb */ color: rgb(106, 147, 49);
/* oklch */ color: oklch(61.3% 0.135 129.2);
Tailwind
colors: {
  custom: {
    50: '#98b36e',
    500: '#6a9331',
    950: '#000000',
  },
}
SCSS
$custom: #6a9331;
$custom-light: #98b36e;
$custom-dark: #000000;
JSON
{
  "hex": "#6a9331",
  "rgb": {
    "r": 106,
    "g": 147,
    "b": 49
  },
  "hsl": {
    "h": 85.102,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.61255,
    "c": 0.13472,
    "h": 129.2
  },
  "luminance": 0.24153
}

Semantic roles & 50–950 ramp

primary
#6A9331
secondary
#8A69B7
accent
#4EDA89
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0E1107
muted
#7E807A

Preview Lab

Preview with #6A9331

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

Preview Lab → · Contrast checker → · Palette generator →

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