#6C8A30#6C8A30

#6C8A30 is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 59.1% C 0.122 H 125.7°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6C8A30
RGBrgb(108, 138, 48)
HSLhsl(80, 48%, 36%)
HSVhsv(80, 65%, 54%)
CMYKcmyk(21.7%, 0%, 65.2%, 45.9%)
CIE-LABlab(53.58, -24.94, 43.31)
CIE-LCHlch(53.58, 49.98, 119.93°)
OKLaboklab(59.13% -0.0712 0.0993)
OKLCHoklch(59.13% 0.122 125.7)
XYZxyz(15.8064, 21.5783, 6.1280)
Luminance0.2158 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8A30 #4E308A
analogous
#8A7B30 #6C8A30 #3F8A30
triadic
#6C8A30 #306C8A #8A306C
tetradic
#6C8A30 #308A7B #4E308A #8A303F
square
#6C8A30 #308A7B #4E308A #8A303F
split-complementary
#6C8A30 #303F8A #7B308A
monochromatic
#252F10 #485D20 #6C8A30 #90B740 #AACB69

Accessibility & contrast

On white

3.95
#6C8A30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#6C8A30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8A30
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8A30#FFFFFF#000000##000000
##6C8A301.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918125
Deuteranopia (green-blind)
#8D8037
Tritanopia (blue-blind)
#708477
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6c8a30;
/* rgb */ color: rgb(108, 138, 48);
/* oklch */ color: oklch(59.1% 0.122 125.7);
Tailwind
colors: {
  custom: {
    50: '#99ac6d',
    500: '#6c8a30',
    950: '#000000',
  },
}
SCSS
$custom: #6c8a30;
$custom-light: #99ac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8a30",
  "rgb": {
    "r": 108,
    "g": 138,
    "b": 48
  },
  "hsl": {
    "h": 80,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59127,
    "c": 0.12218,
    "h": 125.7
  },
  "luminance": 0.21579
}

Semantic roles & 50–950 ramp

primary
#6C8A30
secondary
#7E64B2
accent
#50D87D
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6C8A30

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

Preview Lab → · Contrast checker → · Palette generator →

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