#6D841A#6D841A

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

Color values

HEX#6D841A
RGBrgb(109, 132, 26)
HSLhsl(73, 67%, 31%)
HSVhsv(73, 80%, 52%)
CMYKcmyk(17.4%, 0%, 80.3%, 48.2%)
CIE-LABlab(51.64, -22.90, 49.99)
CIE-LCHlch(51.64, 54.98, 114.62°)
OKLaboklab(57.53% -0.0677 0.1097)
OKLCHoklch(57.53% 0.129 121.7)
XYZxyz(14.7446, 19.8283, 4.0275)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D841A #311A84
analogous
#84661A #6D841A #38841A
triadic
#6D841A #1A6D84 #841A6D
tetradic
#6D841A #1A8466 #311A84 #841A38
square
#6D841A #1A8466 #311A84 #841A38
split-complementary
#6D841A #1A3884 #661A84
monochromatic
#191E06 #435110 #6D841A #97B724 #B8D93F

Accessibility & contrast

On white

4.23
#6D841A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#6D841A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D841A
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D841A#FFFFFF#000000##000000
##6D841A1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C00
Deuteranopia (green-blind)
#8A7B25
Tritanopia (blue-blind)
#737D70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6d841a;
/* rgb */ color: rgb(109, 132, 26);
/* oklch */ color: oklch(57.5% 0.129 121.7);
Tailwind
colors: {
  custom: {
    50: '#9aa761',
    500: '#6d841a',
    950: '#000000',
  },
}
SCSS
$custom: #6d841a;
$custom-light: #9aa761;
$custom-dark: #000000;
JSON
{
  "hex": "#6d841a",
  "rgb": {
    "r": 109,
    "g": 132,
    "b": 26
  },
  "hsl": {
    "h": 73.019,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57533,
    "c": 0.1289,
    "h": 121.7
  },
  "luminance": 0.19828
}

Semantic roles & 50–950 ramp

primary
#6D841A
secondary
#5C42B8
accent
#3EEA63
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #6D841A

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

Preview Lab → · Contrast checker → · Palette generator →

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