#6B8A2B#6B8A2B

#6B8A2B is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 59.0% C 0.127 H 125.7°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6B8A2B
RGBrgb(107, 138, 43)
HSLhsl(80, 52%, 35%)
HSVhsv(80, 69%, 54%)
CMYKcmyk(22.5%, 0%, 68.8%, 45.9%)
CIE-LABlab(53.47, -25.74, 45.35)
CIE-LCHlch(53.47, 52.15, 119.58°)
OKLaboklab(59.01% -0.0739 0.1029)
OKLCHoklch(59.01% 0.127 125.7)
XYZxyz(15.5880, 21.4770, 5.6093)
Luminance0.2148 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8A2B #4A2B8A
analogous
#8A792B #6B8A2B #3B8A2B
triadic
#6B8A2B #2B6B8A #8A2B6B
tetradic
#6B8A2B #2B8A79 #4A2B8A #8A2B3B
square
#6B8A2B #2B8A79 #4A2B8A #8A2B3B
split-complementary
#6B8A2B #2B3B8A #792B8A
monochromatic
#232D0E #475B1C #6B8A2B #8FB93A #ABCE61

Accessibility & contrast

On white

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

On black

5.30
#6B8A2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8A2B
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8A2B#FFFFFF#000000##000000
##6B8A2B1.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b8a2b;
/* rgb */ color: rgb(107, 138, 43);
/* oklch */ color: oklch(59.0% 0.127 125.7);
Tailwind
colors: {
  custom: {
    50: '#98ac6a',
    500: '#6b8a2b',
    950: '#000000',
  },
}
SCSS
$custom: #6b8a2b;
$custom-light: #98ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8a2b",
  "rgb": {
    "r": 107,
    "g": 138,
    "b": 43
  },
  "hsl": {
    "h": 79.579,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59008,
    "c": 0.12663,
    "h": 125.7
  },
  "luminance": 0.21477
}

Semantic roles & 50–950 ramp

primary
#6B8A2B
secondary
#795DB4
accent
#4CDC7B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6B8A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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