#6B8E1E#6B8E1E

#6B8E1E is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.9% C 0.140 H 126.0°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#6B8E1E
RGBrgb(107, 142, 30)
HSLhsl(79, 65%, 34%)
HSVhsv(79, 79%, 56%)
CMYKcmyk(24.6%, 0%, 78.9%, 44.3%)
CIE-LABlab(54.62, -28.49, 51.39)
CIE-LCHlch(54.62, 58.77, 119.00°)
OKLaboklab(59.92% -0.0825 0.1134)
OKLCHoklch(59.92% 0.14 126)
XYZxyz(15.9709, 22.5653, 4.7422)
Luminance0.2257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8E1E #411E8E
analogous
#8E791E #6B8E1E #338E1E
triadic
#6B8E1E #1E6B8E #8E1E6B
tetradic
#6B8E1E #1E8E79 #411E8E #8E1E33
square
#6B8E1E #1E8E79 #411E8E #8E1E33
split-complementary
#6B8E1E #1E338E #791E8E
monochromatic
#1F2909 #455B13 #6B8E1E #91C129 #AED94D

Accessibility & contrast

On white

3.81
#6B8E1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#6B8E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8E1E
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8E1E#FFFFFF#000000##000000
##6B8E1E1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#918229
Tritanopia (blue-blind)
#708779
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6b8e1e;
/* rgb */ color: rgb(107, 142, 30);
/* oklch */ color: oklch(59.9% 0.140 126.0);
Tailwind
colors: {
  custom: {
    50: '#99af64',
    500: '#6b8e1e',
    950: '#000000',
  },
}
SCSS
$custom: #6b8e1e;
$custom-light: #99af64;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8e1e",
  "rgb": {
    "r": 107,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 78.75,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59916,
    "c": 0.14027,
    "h": 126
  },
  "luminance": 0.22566
}

Semantic roles & 50–950 ramp

primary
#6B8E1E
secondary
#6F4CBC
accent
#40E874
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6B8E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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