#6C8229#6C8229

#6C8229 is a mid, moderate yellow-green. Relative luminance 0.193; OKLCH L 57.1% C 0.117 H 122.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#6C8229
RGBrgb(108, 130, 41)
HSLhsl(75, 52%, 34%)
HSVhsv(75, 68%, 51%)
CMYKcmyk(16.9%, 0%, 68.5%, 49%)
CIE-LABlab(51.05, -21.44, 43.71)
CIE-LCHlch(51.05, 48.69, 116.13°)
OKLaboklab(57.07% -0.0622 0.0991)
OKLCHoklch(57.07% 0.117 122.1)
XYZxyz(14.5674, 19.3135, 5.0578)
Luminance0.1931 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8229 #3F2982
analogous
#826B29 #6C8229 #3F8229
triadic
#6C8229 #296C82 #82296C
tetradic
#6C8229 #29826B #3F2982 #82293F
square
#6C8229 #29826B #3F2982 #82293F
split-complementary
#6C8229 #293F82 #6B2982
monochromatic
#1F250C #45531A #6C8229 #93B138 #AFCB5A

Accessibility & contrast

On white

4.32
#6C8229 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#6C8229 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8229
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8229#FFFFFF#000000##000000
##6C82291.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1D
Deuteranopia (green-blind)
#877A30
Tritanopia (blue-blind)
#727B70
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6c8229;
/* rgb */ color: rgb(108, 130, 41);
/* oklch */ color: oklch(57.1% 0.117 122.1);
Tailwind
colors: {
  custom: {
    50: '#99a668',
    500: '#6c8229',
    950: '#000000',
  },
}
SCSS
$custom: #6c8229;
$custom-light: #99a668;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8229",
  "rgb": {
    "r": 108,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 74.831,
    "s": 52.047,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5707,
    "c": 0.117,
    "h": 122.1
  },
  "luminance": 0.19314
}

Semantic roles & 50–950 ramp

primary
#6C8229
secondary
#6D56B0
accent
#4CDB70
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6C8229

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

Preview Lab → · Contrast checker → · Palette generator →

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