#6B8A1B#6B8A1B

#6B8A1B is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.9% C 0.137 H 124.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6B8A1B
RGBrgb(107, 138, 27)
HSLhsl(77, 67%, 32%)
HSVhsv(77, 80%, 54%)
CMYKcmyk(22.5%, 0%, 80.4%, 45.9%)
CIE-LABlab(53.36, -26.70, 51.20)
CIE-LCHlch(53.36, 57.74, 117.54°)
OKLaboklab(58.89% -0.0779 0.1125)
OKLCHoklch(58.89% 0.137 124.7)
XYZxyz(15.3499, 21.3817, 4.3551)
Luminance0.2138 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8A1B #3A1B8A
analogous
#8A721B #6B8A1B #338A1B
triadic
#6B8A1B #1B6B8A #8A1B6B
tetradic
#6B8A1B #1B8A72 #3A1B8A #8A1B33
square
#6B8A1B #1B8A72 #3A1B8A #8A1B33
split-complementary
#6B8A1B #1B338A #721B8A
monochromatic
#1C2407 #435711 #6B8A1B #93BD25 #B1DB45

Accessibility & contrast

On white

3.98
#6B8A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#6B8A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8A1B
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8A1B#FFFFFF#000000##000000
##6B8A1B1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#8E7F26
Tritanopia (blue-blind)
#708376
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6b8a1b;
/* rgb */ color: rgb(107, 138, 27);
/* oklch */ color: oklch(58.9% 0.137 124.7);
Tailwind
colors: {
  custom: {
    50: '#99ac62',
    500: '#6b8a1b',
    950: '#000000',
  },
}
SCSS
$custom: #6b8a1b;
$custom-light: #99ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8a1b",
  "rgb": {
    "r": 107,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 76.757,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58892,
    "c": 0.13682,
    "h": 124.7
  },
  "luminance": 0.21382
}

Semantic roles & 50–950 ramp

primary
#6B8A1B
secondary
#6645BC
accent
#3EEA6E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6B8A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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