#6B8A2D#6B8A2D

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

Color values

HEX#6B8A2D
RGBrgb(107, 138, 45)
HSLhsl(80, 51%, 36%)
HSVhsv(80, 67%, 54%)
CMYKcmyk(22.5%, 0%, 67.4%, 45.9%)
CIE-LABlab(53.48, -25.59, 44.52)
CIE-LCHlch(53.48, 51.35, 119.89°)
OKLaboklab(59.03% -0.0733 0.1014)
OKLCHoklch(59.03% 0.125 125.9)
XYZxyz(15.6256, 21.4920, 5.8073)
Luminance0.2149 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8A2D #4C2D8A
analogous
#8A7A2D #6B8A2D #3C8A2D
triadic
#6B8A2D #2D6B8A #8A2D6B
tetradic
#6B8A2D #2D8A7A #4C2D8A #8A2D3C
square
#6B8A2D #2D8A7A #4C2D8A #8A2D3C
split-complementary
#6B8A2D #2D3C8A #7A2D8A
monochromatic
#232E0F #475C1E #6B8A2D #8FB83C #AACD65

Accessibility & contrast

On white

3.96
#6B8A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B8A2D#FFFFFF#000000##000000
##6B8A2D1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918120
Deuteranopia (green-blind)
#8D7F34
Tritanopia (blue-blind)
#6F8477
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6b8a2d;
/* rgb */ color: rgb(107, 138, 45);
/* oklch */ color: oklch(59.0% 0.125 125.9);
Tailwind
colors: {
  custom: {
    50: '#98ac6b',
    500: '#6b8a2d',
    950: '#000000',
  },
}
SCSS
$custom: #6b8a2d;
$custom-light: #98ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8a2d",
  "rgb": {
    "r": 107,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 80,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59027,
    "c": 0.12509,
    "h": 125.9
  },
  "luminance": 0.21492
}

Semantic roles & 50–950 ramp

primary
#6B8A2D
secondary
#7B60B3
accent
#4DDA7C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6B8A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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