#6C8A25#6C8A25

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

Color values

HEX#6C8A25
RGBrgb(108, 138, 37)
HSLhsl(78, 58%, 34%)
HSVhsv(78, 73%, 54%)
CMYKcmyk(21.7%, 0%, 73.2%, 45.9%)
CIE-LABlab(53.49, -25.73, 47.82)
CIE-LCHlch(53.49, 54.31, 118.28°)
OKLaboklab(59.03% -0.0744 0.1071)
OKLCHoklch(59.03% 0.13 124.8)
XYZxyz(15.6069, 21.4985, 5.0773)
Luminance0.2150 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8A25 #43258A
analogous
#8A7625 #6C8A25 #3A8A25
triadic
#6C8A25 #256C8A #8A256C
tetradic
#6C8A25 #258A76 #43258A #8A253A
square
#6C8A25 #258A76 #43258A #8A253A
split-complementary
#6C8A25 #253A8A #76258A
monochromatic
#20290B #465A18 #6C8A25 #92BA32 #AED257

Accessibility & contrast

On white

3.96
#6C8A25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#6C8A25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8A25
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8A25#FFFFFF#000000##000000
##6C8A251.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928113
Deuteranopia (green-blind)
#8E7F2E
Tritanopia (blue-blind)
#718376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6c8a25;
/* rgb */ color: rgb(108, 138, 37);
/* oklch */ color: oklch(59.0% 0.130 124.8);
Tailwind
colors: {
  custom: {
    50: '#99ac67',
    500: '#6c8a25',
    950: '#000000',
  },
}
SCSS
$custom: #6c8a25;
$custom-light: #99ac67;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8a25",
  "rgb": {
    "r": 108,
    "g": 138,
    "b": 37
  },
  "hsl": {
    "h": 77.822,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5903,
    "c": 0.13042,
    "h": 124.8
  },
  "luminance": 0.21499
}

Semantic roles & 50–950 ramp

primary
#6C8A25
secondary
#7154B7
accent
#47E175
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8A25

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

Preview Lab → · Contrast checker → · Palette generator →

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