#6B841B#6B841B

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

Color values

HEX#6B841B
RGBrgb(107, 132, 27)
HSLhsl(74, 66%, 31%)
HSVhsv(74, 80%, 52%)
CMYKcmyk(18.9%, 0%, 79.5%, 48.2%)
CIE-LABlab(51.50, -23.73, 49.48)
CIE-LCHlch(51.50, 54.88, 115.62°)
OKLaboklab(57.39% -0.0698 0.1089)
OKLCHoklch(57.39% 0.129 122.6)
XYZxyz(14.5127, 19.7074, 4.0760)
Luminance0.1971 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B841B #341B84
analogous
#84681B #6B841B #36841B
triadic
#6B841B #1B6B84 #841B6B
tetradic
#6B841B #1B8468 #341B84 #841B36
square
#6B841B #1B8468 #341B84 #841B36
split-complementary
#6B841B #1B3684 #681B84
monochromatic
#191E06 #425111 #6B841B #94B725 #B4D841

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B841B#FFFFFF#000000##000000
##6B841B1.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)
#8C7B00
Deuteranopia (green-blind)
#897B25
Tritanopia (blue-blind)
#717D70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6b841b;
/* rgb */ color: rgb(107, 132, 27);
/* oklch */ color: oklch(57.4% 0.129 122.6);
Tailwind
colors: {
  custom: {
    50: '#99a761',
    500: '#6b841b',
    950: '#000000',
  },
}
SCSS
$custom: #6b841b;
$custom-light: #99a761;
$custom-dark: #000000;
JSON
{
  "hex": "#6b841b",
  "rgb": {
    "r": 107,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 74.286,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57387,
    "c": 0.12931,
    "h": 122.6
  },
  "luminance": 0.19707
}

Semantic roles & 50–950 ramp

primary
#6B841B
secondary
#5F43B7
accent
#3FE967
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #6B841B

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

Preview Lab → · Contrast checker → · Palette generator →

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