#6B8A2C#6B8A2C

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

Color values

HEX#6B8A2C
RGBrgb(107, 138, 44)
HSLhsl(80, 52%, 36%)
HSVhsv(80, 68%, 54%)
CMYKcmyk(22.5%, 0%, 68.1%, 45.9%)
CIE-LABlab(53.48, -25.67, 44.94)
CIE-LCHlch(53.48, 51.75, 119.73°)
OKLaboklab(59.02% -0.0736 0.1021)
OKLCHoklch(59.02% 0.126 125.8)
XYZxyz(15.6066, 21.4844, 5.7071)
Luminance0.2149 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8A2C #4B2C8A
analogous
#8A7A2C #6B8A2C #3C8A2C
triadic
#6B8A2C #2C6B8A #8A2C6B
tetradic
#6B8A2C #2C8A7A #4B2C8A #8A2C3C
square
#6B8A2C #2C8A7A #4B2C8A #8A2C3C
split-complementary
#6B8A2C #2C3C8A #7A2C8A
monochromatic
#232D0E #475C1D #6B8A2C #8FB83B #AACD63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B8A2C#FFFFFF#000000##000000
##6B8A2C1.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)
#91811F
Deuteranopia (green-blind)
#8D7F33
Tritanopia (blue-blind)
#708377
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6b8a2c;
/* rgb */ color: rgb(107, 138, 44);
/* oklch */ color: oklch(59.0% 0.126 125.8);
Tailwind
colors: {
  custom: {
    50: '#98ac6a',
    500: '#6b8a2c',
    950: '#000000',
  },
}
SCSS
$custom: #6b8a2c;
$custom-light: #98ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8a2c",
  "rgb": {
    "r": 107,
    "g": 138,
    "b": 44
  },
  "hsl": {
    "h": 79.787,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59017,
    "c": 0.12586,
    "h": 125.8
  },
  "luminance": 0.21485
}

Semantic roles & 50–950 ramp

primary
#6B8A2C
secondary
#7A5EB4
accent
#4DDB7C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6B8A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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