#6D841F#6D841F

#6D841F is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.6% C 0.126 H 121.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#6D841F
RGBrgb(109, 132, 31)
HSLhsl(74, 62%, 32%)
HSVhsv(74, 77%, 52%)
CMYKcmyk(17.4%, 0%, 76.5%, 48.2%)
CIE-LABlab(51.67, -22.65, 48.31)
CIE-LCHlch(51.67, 53.36, 115.12°)
OKLaboklab(57.56% -0.0666 0.1071)
OKLCHoklch(57.56% 0.126 121.9)
XYZxyz(14.8055, 19.8526, 4.3480)
Luminance0.1985 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D841F #361F84
analogous
#84691F #6D841F #3B841F
triadic
#6D841F #1F6D84 #841F6D
tetradic
#6D841F #1F8469 #361F84 #841F3B
square
#6D841F #1F8469 #361F84 #841F3B
split-complementary
#6D841F #1F3B84 #691F84
monochromatic
#1B2108 #445213 #6D841F #96B62B #B5D449

Accessibility & contrast

On white

4.22
#6D841F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D841F#FFFFFF#000000##000000
##6D841F1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C09
Deuteranopia (green-blind)
#897B28
Tritanopia (blue-blind)
#737D71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6d841f;
/* rgb */ color: rgb(109, 132, 31);
/* oklch */ color: oklch(57.6% 0.126 121.9);
Tailwind
colors: {
  custom: {
    50: '#9aa763',
    500: '#6d841f',
    950: '#000000',
  },
}
SCSS
$custom: #6d841f;
$custom-light: #9aa763;
$custom-dark: #000000;
JSON
{
  "hex": "#6d841f",
  "rgb": {
    "r": 109,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 73.663,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57564,
    "c": 0.12608,
    "h": 121.9
  },
  "luminance": 0.19853
}

Semantic roles & 50–950 ramp

primary
#6D841F
secondary
#6148B7
accent
#43E568
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6D841F

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

Preview Lab → · Contrast checker → · Palette generator →

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