#6D8A2B#6D8A2B

#6D8A2B is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 59.2% C 0.126 H 124.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6D8A2B
RGBrgb(109, 138, 43)
HSLhsl(78, 52%, 35%)
HSVhsv(78, 69%, 54%)
CMYKcmyk(21%, 0%, 68.8%, 45.9%)
CIE-LABlab(53.60, -24.91, 45.54)
CIE-LCHlch(53.60, 51.90, 118.68°)
OKLaboklab(59.15% -0.0717 0.1032)
OKLCHoklch(59.15% 0.126 124.8)
XYZxyz(15.8313, 21.6024, 5.6207)
Luminance0.2160 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8A2B #482B8A
analogous
#8A772B #6D8A2B #3D8A2B
triadic
#6D8A2B #2B6D8A #8A2B6D
tetradic
#6D8A2B #2B8A77 #482B8A #8A2B3D
square
#6D8A2B #2B8A77 #482B8A #8A2B3D
split-complementary
#6D8A2B #2B3D8A #772B8A
monochromatic
#232D0E #485B1C #6D8A2B #92B93A #ADCE61

Accessibility & contrast

On white

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

On black

5.32
#6D8A2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8A2B
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8A2B#FFFFFF#000000##000000
##6D8A2B1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811D
Deuteranopia (green-blind)
#8E8033
Tritanopia (blue-blind)
#728377
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6d8a2b;
/* rgb */ color: rgb(109, 138, 43);
/* oklch */ color: oklch(59.2% 0.126 124.8);
Tailwind
colors: {
  custom: {
    50: '#9aac6a',
    500: '#6d8a2b',
    950: '#000000',
  },
}
SCSS
$custom: #6d8a2b;
$custom-light: #9aac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8a2b",
  "rgb": {
    "r": 109,
    "g": 138,
    "b": 43
  },
  "hsl": {
    "h": 78.316,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59152,
    "c": 0.12566,
    "h": 124.8
  },
  "luminance": 0.21603
}

Semantic roles & 50–950 ramp

primary
#6D8A2B
secondary
#775DB4
accent
#4CDC78
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6D8A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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