#6C841A#6C841A

#6C841A is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.5% C 0.129 H 122.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#6C841A
RGBrgb(108, 132, 26)
HSLhsl(74, 67%, 31%)
HSVhsv(74, 80%, 52%)
CMYKcmyk(18.2%, 0%, 80.3%, 48.2%)
CIE-LABlab(51.57, -23.34, 49.89)
CIE-LCHlch(51.57, 55.08, 115.07°)
OKLaboklab(57.46% -0.0688 0.1095)
OKLCHoklch(57.46% 0.129 122.1)
XYZxyz(14.6223, 19.7652, 4.0218)
Luminance0.1976 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C841A #321A84
analogous
#84671A #6C841A #37841A
triadic
#6C841A #1A6C84 #841A6C
tetradic
#6C841A #1A8467 #321A84 #841A37
square
#6C841A #1A8467 #321A84 #841A37
split-complementary
#6C841A #1A3784 #671A84
monochromatic
#181E06 #425110 #6C841A #96B724 #B6D93F

Accessibility & contrast

On white

4.24
#6C841A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#6C841A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C841A
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C841A#FFFFFF#000000##000000
##6C841A1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#897B25
Tritanopia (blue-blind)
#727D70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6c841a;
/* rgb */ color: rgb(108, 132, 26);
/* oklch */ color: oklch(57.5% 0.129 122.1);
Tailwind
colors: {
  custom: {
    50: '#99a761',
    500: '#6c841a',
    950: '#000000',
  },
}
SCSS
$custom: #6c841a;
$custom-light: #99a761;
$custom-dark: #000000;
JSON
{
  "hex": "#6c841a",
  "rgb": {
    "r": 108,
    "g": 132,
    "b": 26
  },
  "hsl": {
    "h": 73.585,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57457,
    "c": 0.12937,
    "h": 122.1
  },
  "luminance": 0.19765
}

Semantic roles & 50–950 ramp

primary
#6C841A
secondary
#5D42B8
accent
#3EEA65
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #6C841A

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

Preview Lab → · Contrast checker → · Palette generator →

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