#6C8A21#6C8A21

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

Color values

HEX#6C8A21
RGBrgb(108, 138, 33)
HSLhsl(77, 61%, 34%)
HSVhsv(77, 76%, 54%)
CMYKcmyk(21.7%, 0%, 76.1%, 45.9%)
CIE-LABlab(53.47, -25.97, 49.29)
CIE-LCHlch(53.47, 55.71, 117.78°)
OKLaboklab(59% -0.0754 0.1095)
OKLCHoklch(59% 0.133 124.6)
XYZxyz(15.5475, 21.4747, 4.7645)
Luminance0.2147 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8A21 #3F218A
analogous
#8A7321 #6C8A21 #378A21
triadic
#6C8A21 #216C8A #8A216C
tetradic
#6C8A21 #218A73 #3F218A #8A2137
square
#6C8A21 #218A73 #3F218A #8A2137
split-complementary
#6C8A21 #21378A #73218A
monochromatic
#1F2709 #455915 #6C8A21 #93BB2D #AFD550

Accessibility & contrast

On white

3.97
#6C8A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#6C8A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8A21
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8A21#FFFFFF#000000##000000
##6C8A211.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810B
Deuteranopia (green-blind)
#8E7F2B
Tritanopia (blue-blind)
#718376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6c8a21;
/* rgb */ color: rgb(108, 138, 33);
/* oklch */ color: oklch(59.0% 0.133 124.6);
Tailwind
colors: {
  custom: {
    50: '#99ac65',
    500: '#6c8a21',
    950: '#000000',
  },
}
SCSS
$custom: #6c8a21;
$custom-light: #99ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8a21",
  "rgb": {
    "r": 108,
    "g": 138,
    "b": 33
  },
  "hsl": {
    "h": 77.143,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59001,
    "c": 0.13297,
    "h": 124.6
  },
  "luminance": 0.21475
}

Semantic roles & 50–950 ramp

primary
#6C8A21
secondary
#6D4EB9
accent
#43E571
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8A21

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

Preview Lab → · Contrast checker → · Palette generator →

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