#6A8A2B#6A8A2B

#6A8A2B is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.9% C 0.127 H 126.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6A8A2B
RGBrgb(106, 138, 43)
HSLhsl(80, 52%, 35%)
HSVhsv(80, 69%, 54%)
CMYKcmyk(23.2%, 0%, 68.8%, 45.9%)
CIE-LABlab(53.40, -26.16, 45.26)
CIE-LCHlch(53.40, 52.28, 120.02°)
OKLaboklab(58.94% -0.0749 0.1027)
OKLCHoklch(58.94% 0.127 126.1)
XYZxyz(15.4684, 21.4153, 5.6037)
Luminance0.2142 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8A2B #4B2B8A
analogous
#8A7A2B #6A8A2B #3A8A2B
triadic
#6A8A2B #2B6A8A #8A2B6A
tetradic
#6A8A2B #2B8A7A #4B2B8A #8A2B3A
square
#6A8A2B #2B8A7A #4B2B8A #8A2B3A
split-complementary
#6A8A2B #2B3A8A #7A2B8A
monochromatic
#222D0E #465B1C #6A8A2B #8EB93A #A9CE61

Accessibility & contrast

On white

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

On black

5.28
#6A8A2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8A2B
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8A2B#FFFFFF#000000##000000
##6A8A2B1.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811D
Deuteranopia (green-blind)
#8D7F33
Tritanopia (blue-blind)
#6E8377
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6a8a2b;
/* rgb */ color: rgb(106, 138, 43);
/* oklch */ color: oklch(58.9% 0.127 126.1);
Tailwind
colors: {
  custom: {
    50: '#97ac6a',
    500: '#6a8a2b',
    950: '#000000',
  },
}
SCSS
$custom: #6a8a2b;
$custom-light: #97ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8a2b",
  "rgb": {
    "r": 106,
    "g": 138,
    "b": 43
  },
  "hsl": {
    "h": 80.211,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58937,
    "c": 0.12713,
    "h": 126.1
  },
  "luminance": 0.21416
}

Semantic roles & 50–950 ramp

primary
#6A8A2B
secondary
#7A5DB4
accent
#4CDC7C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6A8A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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