#6A8A2D#6A8A2D

#6A8A2D is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 59.0% C 0.126 H 126.3°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#6A8A2D
RGBrgb(106, 138, 45)
HSLhsl(81, 51%, 36%)
HSVhsv(81, 67%, 54%)
CMYKcmyk(23.2%, 0%, 67.4%, 45.9%)
CIE-LABlab(53.42, -26.01, 44.43)
CIE-LCHlch(53.42, 51.48, 120.34°)
OKLaboklab(58.96% -0.0743 0.1012)
OKLCHoklch(58.96% 0.126 126.3)
XYZxyz(15.5060, 21.4304, 5.8017)
Luminance0.2143 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8A2D #4D2D8A
analogous
#8A7B2D #6A8A2D #3B8A2D
triadic
#6A8A2D #2D6A8A #8A2D6A
tetradic
#6A8A2D #2D8A7B #4D2D8A #8A2D3B
square
#6A8A2D #2D8A7B #4D2D8A #8A2D3B
split-complementary
#6A8A2D #2D3B8A #7B2D8A
monochromatic
#232E0F #475C1E #6A8A2D #8DB83C #A9CD65

Accessibility & contrast

On white

3.97
#6A8A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#6A8A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8A2D
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8A2D#FFFFFF#000000##000000
##6A8A2D1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918120
Deuteranopia (green-blind)
#8D7F34
Tritanopia (blue-blind)
#6E8477
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6a8a2d;
/* rgb */ color: rgb(106, 138, 45);
/* oklch */ color: oklch(59.0% 0.126 126.3);
Tailwind
colors: {
  custom: {
    50: '#97ac6b',
    500: '#6a8a2d',
    950: '#000000',
  },
}
SCSS
$custom: #6a8a2d;
$custom-light: #97ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8a2d",
  "rgb": {
    "r": 106,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 80.645,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58955,
    "c": 0.12559,
    "h": 126.3
  },
  "luminance": 0.21431
}

Semantic roles & 50–950 ramp

primary
#6A8A2D
secondary
#7C60B3
accent
#4DDA7E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6A8A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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