#6B8A1D#6B8A1D

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

Color values

HEX#6B8A1D
RGBrgb(107, 138, 29)
HSLhsl(77, 65%, 33%)
HSVhsv(77, 79%, 54%)
CMYKcmyk(22.5%, 0%, 79%, 45.9%)
CIE-LABlab(53.38, -26.60, 50.56)
CIE-LCHlch(53.38, 57.13, 117.75°)
OKLaboklab(58.9% -0.0774 0.1115)
OKLCHoklch(58.9% 0.136 124.8)
XYZxyz(15.3738, 21.3913, 4.4811)
Luminance0.2139 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8A1D #3C1D8A
analogous
#8A721D #6B8A1D #358A1D
triadic
#6B8A1D #1D6B8A #8A1D6B
tetradic
#6B8A1D #1D8A72 #3C1D8A #8A1D35
square
#6B8A1D #1D8A72 #3C1D8A #8A1D35
split-complementary
#6B8A1D #1D358A #721D8A
monochromatic
#1D2508 #445712 #6B8A1D #92BD28 #B0D949

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #6b8a1d;
/* rgb */ color: rgb(107, 138, 29);
/* oklch */ color: oklch(58.9% 0.136 124.8);
Tailwind
colors: {
  custom: {
    50: '#99ac63',
    500: '#6b8a1d',
    950: '#000000',
  },
}
SCSS
$custom: #6b8a1d;
$custom-light: #99ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8a1d",
  "rgb": {
    "r": 107,
    "g": 138,
    "b": 29
  },
  "hsl": {
    "h": 77.064,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58904,
    "c": 0.13576,
    "h": 124.8
  },
  "luminance": 0.21391
}

Semantic roles & 50–950 ramp

primary
#6B8A1D
secondary
#6948BB
accent
#40E870
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6B8A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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