#6A8B1B#6A8B1B

#6A8B1B is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 59.1% C 0.139 H 125.4°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6A8B1B
RGBrgb(106, 139, 27)
HSLhsl(78, 67%, 33%)
HSVhsv(78, 81%, 55%)
CMYKcmyk(23.7%, 0%, 80.6%, 45.5%)
CIE-LABlab(53.61, -27.61, 51.40)
CIE-LCHlch(53.61, 58.34, 118.24°)
OKLaboklab(59.07% -0.0803 0.113)
OKLCHoklch(59.07% 0.139 125.4)
XYZxyz(15.3744, 21.6083, 4.3975)
Luminance0.2161 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8B1B #3C1B8B
analogous
#8B741B #6A8B1B #328B1B
triadic
#6A8B1B #1B6A8B #8B1B6A
tetradic
#6A8B1B #1B8B74 #3C1B8B #8B1B32
square
#6A8B1B #1B8B74 #3C1B8B #8B1B32
split-complementary
#6A8B1B #1B328B #741B8B
monochromatic
#1C2507 #435811 #6A8B1B #91BE25 #AFDB45

Accessibility & contrast

On white

3.95
#6A8B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#6A8B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8B1B
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8B1B#FFFFFF#000000##000000
##6A8B1B1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8F8027
Tritanopia (blue-blind)
#6F8476
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6a8b1b;
/* rgb */ color: rgb(106, 139, 27);
/* oklch */ color: oklch(59.1% 0.139 125.4);
Tailwind
colors: {
  custom: {
    50: '#98ad62',
    500: '#6a8b1b',
    950: '#000000',
  },
}
SCSS
$custom: #6a8b1b;
$custom-light: #98ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8b1b",
  "rgb": {
    "r": 106,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 77.679,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.59073,
    "c": 0.13857,
    "h": 125.4
  },
  "luminance": 0.21609
}

Semantic roles & 50–950 ramp

primary
#6A8B1B
secondary
#6845BC
accent
#3DEA70
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6A8B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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