#6C841B#6C841B

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

Color values

HEX#6C841B
RGBrgb(108, 132, 27)
HSLhsl(74, 66%, 31%)
HSVhsv(74, 80%, 52%)
CMYKcmyk(18.2%, 0%, 79.5%, 48.2%)
CIE-LABlab(51.58, -23.29, 49.57)
CIE-LCHlch(51.58, 54.77, 115.17°)
OKLaboklab(57.46% -0.0686 0.109)
OKLCHoklch(57.46% 0.129 122.2)
XYZxyz(14.6337, 19.7698, 4.0817)
Luminance0.1977 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C841B #331B84
analogous
#84671B #6C841B #37841B
triadic
#6C841B #1B6C84 #841B6C
tetradic
#6C841B #1B8467 #331B84 #841B37
square
#6C841B #1B8467 #331B84 #841B37
split-complementary
#6C841B #1B3784 #671B84
monochromatic
#191E06 #425111 #6C841B #96B725 #B6D841

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C841B#FFFFFF#000000##000000
##6C841B1.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: #6c841b;
/* rgb */ color: rgb(108, 132, 27);
/* oklch */ color: oklch(57.5% 0.129 122.2);
Tailwind
colors: {
  custom: {
    50: '#99a761',
    500: '#6c841b',
    950: '#000000',
  },
}
SCSS
$custom: #6c841b;
$custom-light: #99a761;
$custom-dark: #000000;
JSON
{
  "hex": "#6c841b",
  "rgb": {
    "r": 108,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 73.714,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57463,
    "c": 0.12883,
    "h": 122.2
  },
  "luminance": 0.1977
}

Semantic roles & 50–950 ramp

primary
#6C841B
secondary
#5E43B7
accent
#3FE966
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #6C841B

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

Preview Lab → · Contrast checker → · Palette generator →

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