#6C841F#6C841F

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

Color values

HEX#6C841F
RGBrgb(108, 132, 31)
HSLhsl(74, 62%, 32%)
HSVhsv(74, 77%, 52%)
CMYKcmyk(18.2%, 0%, 76.5%, 48.2%)
CIE-LABlab(51.60, -23.09, 48.22)
CIE-LCHlch(51.60, 53.46, 115.59°)
OKLaboklab(57.49% -0.0677 0.1069)
OKLCHoklch(57.49% 0.127 122.4)
XYZxyz(14.6831, 19.7896, 4.3423)
Luminance0.1979 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C841F #371F84
analogous
#84691F #6C841F #3A841F
triadic
#6C841F #1F6C84 #841F6C
tetradic
#6C841F #1F8469 #371F84 #841F3A
square
#6C841F #1F8469 #371F84 #841F3A
split-complementary
#6C841F #1F3A84 #691F84
monochromatic
#1B2108 #435213 #6C841F #95B62B #B3D449

Accessibility & contrast

On white

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

On black

4.96
#6C841F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C841F
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C841F#FFFFFF#000000##000000
##6C841F1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c841f;
/* rgb */ color: rgb(108, 132, 31);
/* oklch */ color: oklch(57.5% 0.127 122.4);
Tailwind
colors: {
  custom: {
    50: '#99a763',
    500: '#6c841f',
    950: '#000000',
  },
}
SCSS
$custom: #6c841f;
$custom-light: #99a763;
$custom-dark: #000000;
JSON
{
  "hex": "#6c841f",
  "rgb": {
    "r": 108,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 74.257,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57488,
    "c": 0.12654,
    "h": 122.4
  },
  "luminance": 0.1979
}

Semantic roles & 50–950 ramp

primary
#6C841F
secondary
#6248B7
accent
#43E569
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6C841F

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

Preview Lab → · Contrast checker → · Palette generator →

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