#6C8B23#6C8B23

#6C8B23 is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.3% C 0.133 H 125.0°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#6C8B23
RGBrgb(108, 139, 35)
HSLhsl(78, 60%, 34%)
HSVhsv(78, 75%, 55%)
CMYKcmyk(22.3%, 0%, 74.8%, 45.5%)
CIE-LABlab(53.79, -26.35, 48.87)
CIE-LCHlch(53.79, 55.52, 118.33°)
OKLaboklab(59.27% -0.0763 0.109)
OKLCHoklch(59.27% 0.133 125)
XYZxyz(15.7205, 21.7745, 4.9645)
Luminance0.2177 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8B23 #42238B
analogous
#8B7623 #6C8B23 #388B23
triadic
#6C8B23 #236C8B #8B236C
tetradic
#6C8B23 #238B76 #42238B #8B2338
square
#6C8B23 #238B76 #42238B #8B2338
split-complementary
#6C8B23 #23388B #76238B
monochromatic
#20290A #465A17 #6C8B23 #92BC2F #AED454

Accessibility & contrast

On white

3.92
#6C8B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#6C8B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8B23
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8B23#FFFFFF#000000##000000
##6C8B231.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820F
Deuteranopia (green-blind)
#8F802C
Tritanopia (blue-blind)
#718477
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6c8b23;
/* rgb */ color: rgb(108, 139, 35);
/* oklch */ color: oklch(59.3% 0.133 125.0);
Tailwind
colors: {
  custom: {
    50: '#99ad66',
    500: '#6c8b23',
    950: '#000000',
  },
}
SCSS
$custom: #6c8b23;
$custom-light: #99ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8b23",
  "rgb": {
    "r": 108,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 77.885,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59266,
    "c": 0.13302,
    "h": 125
  },
  "luminance": 0.21775
}

Semantic roles & 50–950 ramp

primary
#6C8B23
secondary
#7052B8
accent
#45E374
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8B23

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

Preview Lab → · Contrast checker → · Palette generator →

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