#6D8A26#6D8A26

#6D8A26 is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 59.1% C 0.129 H 124.4°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#6D8A26
RGBrgb(109, 138, 38)
HSLhsl(77, 57%, 35%)
HSVhsv(77, 72%, 54%)
CMYKcmyk(21%, 0%, 72.5%, 45.9%)
CIE-LABlab(53.57, -25.25, 47.53)
CIE-LCHlch(53.57, 53.82, 117.98°)
OKLaboklab(59.11% -0.0731 0.1066)
OKLCHoklch(59.11% 0.129 124.4)
XYZxyz(15.7451, 21.5680, 5.1669)
Luminance0.2157 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8A26 #43268A
analogous
#8A7526 #6D8A26 #3B8A26
triadic
#6D8A26 #266D8A #8A266D
tetradic
#6D8A26 #268A75 #43268A #8A263B
square
#6D8A26 #268A75 #43268A #8A263B
split-complementary
#6D8A26 #263B8A #75268A
monochromatic
#212A0C #475A19 #6D8A26 #93BA33 #AED159

Accessibility & contrast

On white

3.95
#6D8A26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#6D8A26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8A26
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8A26#FFFFFF#000000##000000
##6D8A261.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928115
Deuteranopia (green-blind)
#8E802F
Tritanopia (blue-blind)
#728376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6d8a26;
/* rgb */ color: rgb(109, 138, 38);
/* oklch */ color: oklch(59.1% 0.129 124.4);
Tailwind
colors: {
  custom: {
    50: '#9aac67',
    500: '#6d8a26',
    950: '#000000',
  },
}
SCSS
$custom: #6d8a26;
$custom-light: #9aac67;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8a26",
  "rgb": {
    "r": 109,
    "g": 138,
    "b": 38
  },
  "hsl": {
    "h": 77.4,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5911,
    "c": 0.12926,
    "h": 124.4
  },
  "luminance": 0.21568
}

Semantic roles & 50–950 ramp

primary
#6D8A26
secondary
#7256B6
accent
#48E074
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6D8A26

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

Preview Lab → · Contrast checker → · Palette generator →

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