#6C8A2A#6C8A2A

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

Color values

HEX#6C8A2A
RGBrgb(108, 138, 42)
HSLhsl(79, 53%, 35%)
HSVhsv(79, 70%, 54%)
CMYKcmyk(21.7%, 0%, 69.6%, 45.9%)
CIE-LABlab(53.53, -25.40, 45.86)
CIE-LCHlch(53.53, 52.42, 118.98°)
OKLaboklab(59.07% -0.0731 0.1037)
OKLCHoklch(59.07% 0.127 125.2)
XYZxyz(15.6908, 21.5321, 5.5195)
Luminance0.2153 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8A2A #482A8A
analogous
#8A782A #6C8A2A #3C8A2A
triadic
#6C8A2A #2A6C8A #8A2A6C
tetradic
#6C8A2A #2A8A78 #482A8A #8A2A3C
square
#6C8A2A #2A8A78 #482A8A #8A2A3C
split-complementary
#6C8A2A #2A3C8A #782A8A
monochromatic
#232C0D #475B1C #6C8A2A #91B938 #ACCF60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C8A2A#FFFFFF#000000##000000
##6C8A2A1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811C
Deuteranopia (green-blind)
#8E7F32
Tritanopia (blue-blind)
#718377
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6c8a2a;
/* rgb */ color: rgb(108, 138, 42);
/* oklch */ color: oklch(59.1% 0.127 125.2);
Tailwind
colors: {
  custom: {
    50: '#99ac69',
    500: '#6c8a2a',
    950: '#000000',
  },
}
SCSS
$custom: #6c8a2a;
$custom-light: #99ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8a2a",
  "rgb": {
    "r": 108,
    "g": 138,
    "b": 42
  },
  "hsl": {
    "h": 78.75,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59071,
    "c": 0.12689,
    "h": 125.2
  },
  "luminance": 0.21532
}

Semantic roles & 50–950 ramp

primary
#6C8A2A
secondary
#775BB4
accent
#4BDD79
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6C8A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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