#6B8A1C#6B8A1C

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

Color values

HEX#6B8A1C
RGBrgb(107, 138, 28)
HSLhsl(77, 66%, 33%)
HSVhsv(77, 80%, 54%)
CMYKcmyk(22.5%, 0%, 79.7%, 45.9%)
CIE-LABlab(53.37, -26.65, 50.88)
CIE-LCHlch(53.37, 57.44, 117.65°)
OKLaboklab(58.9% -0.0777 0.112)
OKLCHoklch(58.9% 0.136 124.7)
XYZxyz(15.3616, 21.3864, 4.4171)
Luminance0.2139 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8A1C #3B1C8A
analogous
#8A721C #6B8A1C #348A1C
triadic
#6B8A1C #1C6B8A #8A1C6B
tetradic
#6B8A1C #1C8A72 #3B1C8A #8A1C34
square
#6B8A1C #1C8A72 #3B1C8A #8A1C34
split-complementary
#6B8A1C #1C348A #721C8A
monochromatic
#1C2407 #445712 #6B8A1C #92BD26 #B0DA47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B8A1C#FFFFFF#000000##000000
##6B8A1C1.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)
#8E7F27
Tritanopia (blue-blind)
#708376
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6b8a1c;
/* rgb */ color: rgb(107, 138, 28);
/* oklch */ color: oklch(58.9% 0.136 124.7);
Tailwind
colors: {
  custom: {
    50: '#99ac62',
    500: '#6b8a1c',
    950: '#000000',
  },
}
SCSS
$custom: #6b8a1c;
$custom-light: #99ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8a1c",
  "rgb": {
    "r": 107,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 76.909,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58898,
    "c": 0.1363,
    "h": 124.7
  },
  "luminance": 0.21387
}

Semantic roles & 50–950 ramp

primary
#6B8A1C
secondary
#6746BB
accent
#3FE96F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6B8A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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