#6B8A27#6B8A27

#6B8A27 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 59.0% C 0.130 H 125.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#6B8A27
RGBrgb(107, 138, 39)
HSLhsl(79, 56%, 35%)
HSVhsv(79, 72%, 54%)
CMYKcmyk(22.5%, 0%, 71.7%, 45.9%)
CIE-LABlab(53.44, -26.02, 46.96)
CIE-LCHlch(53.44, 53.69, 118.99°)
OKLaboklab(58.97% -0.075 0.1056)
OKLCHoklch(58.97% 0.13 125.4)
XYZxyz(15.5182, 21.4490, 5.2416)
Luminance0.2145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8A27 #46278A
analogous
#8A7827 #6B8A27 #3A8A27
triadic
#6B8A27 #276B8A #8A276B
tetradic
#6B8A27 #278A78 #46278A #8A273A
square
#6B8A27 #278A78 #46278A #8A273A
split-complementary
#6B8A27 #273A8A #78278A
monochromatic
#212B0C #465A1A #6B8A27 #90BA34 #ACD15B

Accessibility & contrast

On white

3.97
#6B8A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#6B8A27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8A27
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8A27#FFFFFF#000000##000000
##6B8A271.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928117
Deuteranopia (green-blind)
#8D7F2F
Tritanopia (blue-blind)
#708376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6b8a27;
/* rgb */ color: rgb(107, 138, 39);
/* oklch */ color: oklch(59.0% 0.130 125.4);
Tailwind
colors: {
  custom: {
    50: '#98ac68',
    500: '#6b8a27',
    950: '#000000',
  },
}
SCSS
$custom: #6b8a27;
$custom-light: #98ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8a27",
  "rgb": {
    "r": 107,
    "g": 138,
    "b": 39
  },
  "hsl": {
    "h": 78.788,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58974,
    "c": 0.12954,
    "h": 125.4
  },
  "luminance": 0.21449
}

Semantic roles & 50–950 ramp

primary
#6B8A27
secondary
#7557B6
accent
#49DF78
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6B8A27

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

Preview Lab → · Contrast checker → · Palette generator →

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