#6C822F#6C822F

#6C822F is a mid, moderate yellow-green. Relative luminance 0.194; OKLCH L 57.1% C 0.112 H 122.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#6C822F
RGBrgb(108, 130, 47)
HSLhsl(76, 47%, 35%)
HSVhsv(76, 64%, 51%)
CMYKcmyk(16.9%, 0%, 63.8%, 49%)
CIE-LABlab(51.10, -20.97, 41.09)
CIE-LCHlch(51.10, 46.13, 117.04°)
OKLaboklab(57.13% -0.0603 0.0944)
OKLCHoklch(57.13% 0.112 122.6)
XYZxyz(14.6802, 19.3586, 5.6520)
Luminance0.1936 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C822F #452F82
analogous
#826F2F #6C822F #42822F
triadic
#6C822F #2F6C82 #822F6C
tetradic
#6C822F #2F826F #452F82 #822F42
square
#6C822F #2F826F #452F82 #822F42
split-complementary
#6C822F #2F4282 #6F2F82
monochromatic
#21280E #47551F #6C822F #91AF3F #ADC764

Accessibility & contrast

On white

4.31
#6C822F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#6C822F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C822F
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C822F#FFFFFF#000000##000000
##6C822F1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A25
Deuteranopia (green-blind)
#877A35
Tritanopia (blue-blind)
#717C71
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6c822f;
/* rgb */ color: rgb(108, 130, 47);
/* oklch */ color: oklch(57.1% 0.112 122.6);
Tailwind
colors: {
  custom: {
    50: '#98a66b',
    500: '#6c822f',
    950: '#000000',
  },
}
SCSS
$custom: #6c822f;
$custom-light: #98a66b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c822f",
  "rgb": {
    "r": 108,
    "g": 130,
    "b": 47
  },
  "hsl": {
    "h": 75.904,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57128,
    "c": 0.11205,
    "h": 122.6
  },
  "luminance": 0.19359
}

Semantic roles & 50–950 ramp

primary
#6C822F
secondary
#745FAE
accent
#51D775
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F07
muted
#7E7F7A

Preview Lab

Preview with #6C822F

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

Preview Lab → · Contrast checker → · Palette generator →

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