#6B841E#6B841E

#6B841E is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 57.4% C 0.128 H 122.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#6B841E
RGBrgb(107, 132, 30)
HSLhsl(75, 63%, 32%)
HSVhsv(75, 77%, 52%)
CMYKcmyk(18.9%, 0%, 77.3%, 48.2%)
CIE-LABlab(51.52, -23.57, 48.48)
CIE-LCHlch(51.52, 53.90, 115.93°)
OKLaboklab(57.41% -0.0691 0.1073)
OKLCHoklch(57.41% 0.128 122.8)
XYZxyz(14.5492, 19.7220, 4.2683)
Luminance0.1972 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B841E #371E84
analogous
#846A1E #6B841E #38841E
triadic
#6B841E #1E6B84 #841E6B
tetradic
#6B841E #1E846A #371E84 #841E38
square
#6B841E #1E846A #371E84 #841E38
split-complementary
#6B841E #1E3884 #6A1E84
monochromatic
#1A2007 #435213 #6B841E #93B629 #B2D547

Accessibility & contrast

On white

4.25
#6B841E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#6B841E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B841E
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B841E#FFFFFF#000000##000000
##6B841E1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B07
Deuteranopia (green-blind)
#897B27
Tritanopia (blue-blind)
#717D71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6b841e;
/* rgb */ color: rgb(107, 132, 30);
/* oklch */ color: oklch(57.4% 0.128 122.8);
Tailwind
colors: {
  custom: {
    50: '#98a762',
    500: '#6b841e',
    950: '#000000',
  },
}
SCSS
$custom: #6b841e;
$custom-light: #98a762;
$custom-dark: #000000;
JSON
{
  "hex": "#6b841e",
  "rgb": {
    "r": 107,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 74.706,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57406,
    "c": 0.1276,
    "h": 122.8
  },
  "luminance": 0.19722
}

Semantic roles & 50–950 ramp

primary
#6B841E
secondary
#6247B7
accent
#42E66A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6B841E

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

Preview Lab → · Contrast checker → · Palette generator →

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