#6B8E1C#6B8E1C

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

Color values

HEX#6B8E1C
RGBrgb(107, 142, 28)
HSLhsl(78, 67%, 33%)
HSVhsv(78, 80%, 56%)
CMYKcmyk(24.6%, 0%, 80.3%, 44.3%)
CIE-LABlab(54.61, -28.59, 52.03)
CIE-LCHlch(54.61, 59.37, 118.79°)
OKLaboklab(59.9% -0.0829 0.1144)
OKLCHoklch(59.9% 0.141 125.9)
XYZxyz(15.9461, 22.5554, 4.6119)
Luminance0.2256 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8E1C #3F1C8E
analogous
#8E781C #6B8E1C #328E1C
triadic
#6B8E1C #1C6B8E #8E1C6B
tetradic
#6B8E1C #1C8E78 #3F1C8E #8E1C32
square
#6B8E1C #1C8E78 #3F1C8E #8E1C32
split-complementary
#6B8E1C #1C328E #781C8E
monochromatic
#1E2808 #445B12 #6B8E1C #92C126 #AEDB49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B8E1C#FFFFFF#000000##000000
##6B8E1C1.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)
#918228
Tritanopia (blue-blind)
#708779
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6b8e1c;
/* rgb */ color: rgb(107, 142, 28);
/* oklch */ color: oklch(59.9% 0.141 125.9);
Tailwind
colors: {
  custom: {
    50: '#99af63',
    500: '#6b8e1c',
    950: '#000000',
  },
}
SCSS
$custom: #6b8e1c;
$custom-light: #99af63;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8e1c",
  "rgb": {
    "r": 107,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 78.421,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59904,
    "c": 0.14133,
    "h": 125.9
  },
  "luminance": 0.22556
}

Semantic roles & 50–950 ramp

primary
#6B8E1C
secondary
#6C49BD
accent
#3EEA73
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6B8E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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