#6B8A1E#6B8A1E

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

Color values

HEX#6B8A1E
RGBrgb(107, 138, 30)
HSLhsl(77, 64%, 33%)
HSVhsv(77, 78%, 54%)
CMYKcmyk(22.5%, 0%, 78.3%, 45.9%)
CIE-LABlab(53.38, -26.55, 50.23)
CIE-LCHlch(53.38, 56.82, 117.86°)
OKLaboklab(58.91% -0.0772 0.111)
OKLCHoklch(58.91% 0.135 124.8)
XYZxyz(15.3864, 21.3963, 4.5473)
Luminance0.2140 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8A1E #3D1E8A
analogous
#8A731E #6B8A1E #358A1E
triadic
#6B8A1E #1E6B8A #8A1E6B
tetradic
#6B8A1E #1E8A73 #3D1E8A #8A1E35
square
#6B8A1E #1E8A73 #3D1E8A #8A1E35
split-complementary
#6B8A1E #1E358A #731E8A
monochromatic
#1D2508 #445813 #6B8A1E #92BC29 #AFD84B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B8A1E#FFFFFF#000000##000000
##6B8A1E1.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)
#928103
Deuteranopia (green-blind)
#8E7F29
Tritanopia (blue-blind)
#708376
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6b8a1e;
/* rgb */ color: rgb(107, 138, 30);
/* oklch */ color: oklch(58.9% 0.135 124.8);
Tailwind
colors: {
  custom: {
    50: '#99ac63',
    500: '#6b8a1e',
    950: '#000000',
  },
}
SCSS
$custom: #6b8a1e;
$custom-light: #99ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8a1e",
  "rgb": {
    "r": 107,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 77.222,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5891,
    "c": 0.13521,
    "h": 124.8
  },
  "luminance": 0.21396
}

Semantic roles & 50–950 ramp

primary
#6B8A1E
secondary
#6A4ABA
accent
#41E770
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6B8A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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