#6B841C#6B841C

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

Color values

HEX#6B841C
RGBrgb(107, 132, 28)
HSLhsl(74, 65%, 31%)
HSVhsv(74, 79%, 52%)
CMYKcmyk(18.9%, 0%, 78.8%, 48.2%)
CIE-LABlab(51.51, -23.68, 49.15)
CIE-LCHlch(51.51, 54.56, 115.72°)
OKLaboklab(57.39% -0.0695 0.1084)
OKLCHoklch(57.39% 0.129 122.7)
XYZxyz(14.5245, 19.7121, 4.1380)
Luminance0.1971 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B841C #351C84
analogous
#84691C #6B841C #37841C
triadic
#6B841C #1C6B84 #841C6B
tetradic
#6B841C #1C8469 #351C84 #841C37
square
#6B841C #1C8469 #351C84 #841C37
split-complementary
#6B841C #1C3784 #691C84
monochromatic
#191F07 #425211 #6B841C #94B627 #B4D743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B841C#FFFFFF#000000##000000
##6B841C1.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)
#8C7B02
Deuteranopia (green-blind)
#897B26
Tritanopia (blue-blind)
#717D71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6b841c;
/* rgb */ color: rgb(107, 132, 28);
/* oklch */ color: oklch(57.4% 0.129 122.7);
Tailwind
colors: {
  custom: {
    50: '#99a761',
    500: '#6b841c',
    950: '#000000',
  },
}
SCSS
$custom: #6b841c;
$custom-light: #99a761;
$custom-dark: #000000;
JSON
{
  "hex": "#6b841c",
  "rgb": {
    "r": 107,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 74.423,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57393,
    "c": 0.12875,
    "h": 122.7
  },
  "luminance": 0.19712
}

Semantic roles & 50–950 ramp

primary
#6B841C
secondary
#6045B7
accent
#40E868
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #6B841C

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

Preview Lab → · Contrast checker → · Palette generator →

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