#6A8A26#6A8A26

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

Color values

HEX#6A8A26
RGBrgb(106, 138, 38)
HSLhsl(79, 57%, 35%)
HSVhsv(79, 72%, 54%)
CMYKcmyk(23.2%, 0%, 72.5%, 45.9%)
CIE-LABlab(53.36, -26.50, 47.26)
CIE-LCHlch(53.36, 54.19, 119.28°)
OKLaboklab(58.9% -0.0763 0.1061)
OKLCHoklch(58.9% 0.131 125.7)
XYZxyz(15.3823, 21.3809, 5.1499)
Luminance0.2138 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8A26 #46268A
analogous
#8A7826 #6A8A26 #388A26
triadic
#6A8A26 #266A8A #8A266A
tetradic
#6A8A26 #268A78 #46268A #8A2638
square
#6A8A26 #268A78 #46268A #8A2638
split-complementary
#6A8A26 #26388A #78268A
monochromatic
#202A0C #455A19 #6A8A26 #8FBA33 #ABD159

Accessibility & contrast

On white

3.98
#6A8A26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A8A26#FFFFFF#000000##000000
##6A8A261.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928115
Deuteranopia (green-blind)
#8D7F2F
Tritanopia (blue-blind)
#6F8376
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6a8a26;
/* rgb */ color: rgb(106, 138, 38);
/* oklch */ color: oklch(58.9% 0.131 125.7);
Tailwind
colors: {
  custom: {
    50: '#98ac67',
    500: '#6a8a26',
    950: '#000000',
  },
}
SCSS
$custom: #6a8a26;
$custom-light: #98ac67;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8a26",
  "rgb": {
    "r": 106,
    "g": 138,
    "b": 38
  },
  "hsl": {
    "h": 79.2,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58895,
    "c": 0.13072,
    "h": 125.7
  },
  "luminance": 0.21381
}

Semantic roles & 50–950 ramp

primary
#6A8A26
secondary
#7556B6
accent
#48E078
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6A8A26

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

Preview Lab → · Contrast checker → · Palette generator →

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