#6C8D30#6C8D30

#6C8D30 is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 59.9% C 0.126 H 126.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#6C8D30
RGBrgb(108, 141, 48)
HSLhsl(81, 49%, 37%)
HSVhsv(81, 66%, 55%)
CMYKcmyk(23.4%, 0%, 66%, 44.7%)
CIE-LABlab(54.50, -26.42, 44.31)
CIE-LCHlch(54.50, 51.59, 120.81°)
OKLaboklab(59.88% -0.0753 0.1014)
OKLCHoklch(59.88% 0.126 126.6)
XYZxyz(16.2427, 22.4510, 6.2735)
Luminance0.2245 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8D30 #51308D
analogous
#8D7F30 #6C8D30 #3E8D30
triadic
#6C8D30 #306C8D #8D306C
tetradic
#6C8D30 #308D7F #51308D #8D303E
square
#6C8D30 #308D7F #51308D #8D303E
split-complementary
#6C8D30 #303E8D #7F308D
monochromatic
#263211 #495F20 #6C8D30 #8FBB40 #AACD6B

Accessibility & contrast

On white

3.82
#6C8D30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#6C8D30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8D30
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8D30#FFFFFF#000000##000000
##6C8D301.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948424
Deuteranopia (green-blind)
#908237
Tritanopia (blue-blind)
#70877A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6c8d30;
/* rgb */ color: rgb(108, 141, 48);
/* oklch */ color: oklch(59.9% 0.126 126.6);
Tailwind
colors: {
  custom: {
    50: '#99ae6d',
    500: '#6c8d30',
    950: '#000000',
  },
}
SCSS
$custom: #6c8d30;
$custom-light: #99ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8d30",
  "rgb": {
    "r": 108,
    "g": 141,
    "b": 48
  },
  "hsl": {
    "h": 81.29,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59876,
    "c": 0.12629,
    "h": 126.6
  },
  "luminance": 0.22451
}

Semantic roles & 50–950 ramp

primary
#6C8D30
secondary
#8165B4
accent
#4FD980
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6C8D30

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

Preview Lab → · Contrast checker → · Palette generator →

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