#6C8422#6C8422

#6C8422 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.5% C 0.125 H 122.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#6C8422
RGBrgb(108, 132, 34)
HSLhsl(75, 59%, 33%)
HSVhsv(75, 74%, 52%)
CMYKcmyk(18.2%, 0%, 74.2%, 48.2%)
CIE-LABlab(51.62, -22.92, 47.13)
CIE-LCHlch(51.62, 52.40, 115.93°)
OKLaboklab(57.51% -0.067 0.1051)
OKLCHoklch(57.51% 0.125 122.5)
XYZxyz(14.7245, 19.8061, 4.5603)
Luminance0.1981 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8422 #3A2284
analogous
#846B22 #6C8422 #3B8422
triadic
#6C8422 #226C84 #84226C
tetradic
#6C8422 #22846B #3A2284 #84223B
square
#6C8422 #22846B #3A2284 #84223B
split-complementary
#6C8422 #223B84 #6B2284
monochromatic
#1C2309 #445315 #6C8422 #94B52F #B2D24F

Accessibility & contrast

On white

4.23
#6C8422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#6C8422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8422
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8422#FFFFFF#000000##000000
##6C84221.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C10
Deuteranopia (green-blind)
#897B2A
Tritanopia (blue-blind)
#727D71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6c8422;
/* rgb */ color: rgb(108, 132, 34);
/* oklch */ color: oklch(57.5% 0.125 122.5);
Tailwind
colors: {
  custom: {
    50: '#99a764',
    500: '#6c8422',
    950: '#000000',
  },
}
SCSS
$custom: #6c8422;
$custom-light: #99a764;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8422",
  "rgb": {
    "r": 108,
    "g": 132,
    "b": 34
  },
  "hsl": {
    "h": 74.694,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57509,
    "c": 0.12464,
    "h": 122.5
  },
  "luminance": 0.19806
}

Semantic roles & 50–950 ramp

primary
#6C8422
secondary
#664DB5
accent
#46E26C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6C8422

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

Preview Lab → · Contrast checker → · Palette generator →

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