#6C8A23#6C8A23

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

Color values

HEX#6C8A23
RGBrgb(108, 138, 35)
HSLhsl(77, 60%, 34%)
HSVhsv(77, 75%, 54%)
CMYKcmyk(21.7%, 0%, 74.6%, 45.9%)
CIE-LABlab(53.48, -25.85, 48.57)
CIE-LCHlch(53.48, 55.02, 118.03°)
OKLaboklab(59.01% -0.075 0.1083)
OKLCHoklch(59.01% 0.132 124.7)
XYZxyz(15.5763, 21.4863, 4.9164)
Luminance0.2149 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8A23 #41238A
analogous
#8A7523 #6C8A23 #398A23
triadic
#6C8A23 #236C8A #8A236C
tetradic
#6C8A23 #238A75 #41238A #8A2339
square
#6C8A23 #238A75 #41238A #8A2339
split-complementary
#6C8A23 #23398A #75238A
monochromatic
#20280A #465917 #6C8A23 #92BB2F #AED454

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C8A23#FFFFFF#000000##000000
##6C8A231.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)
#92810F
Deuteranopia (green-blind)
#8E7F2C
Tritanopia (blue-blind)
#718376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6c8a23;
/* rgb */ color: rgb(108, 138, 35);
/* oklch */ color: oklch(59.0% 0.132 124.7);
Tailwind
colors: {
  custom: {
    50: '#99ac66',
    500: '#6c8a23',
    950: '#000000',
  },
}
SCSS
$custom: #6c8a23;
$custom-light: #99ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8a23",
  "rgb": {
    "r": 108,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 77.476,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59015,
    "c": 0.13172,
    "h": 124.7
  },
  "luminance": 0.21486
}

Semantic roles & 50–950 ramp

primary
#6C8A23
secondary
#6F51B7
accent
#45E373
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8A23

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

Preview Lab → · Contrast checker → · Palette generator →

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