#6C821E#6C821E

#6C821E is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 57.0% C 0.125 H 121.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#6C821E
RGBrgb(108, 130, 30)
HSLhsl(73, 63%, 31%)
HSVhsv(73, 77%, 51%)
CMYKcmyk(16.9%, 0%, 76.9%, 49%)
CIE-LABlab(50.98, -22.13, 47.98)
CIE-LCHlch(50.98, 52.84, 114.76°)
OKLaboklab(56.98% -0.0652 0.1062)
OKLCHoklch(56.98% 0.125 121.5)
XYZxyz(14.4015, 19.2471, 4.1844)
Luminance0.1925 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C821E #341E82
analogous
#82661E #6C821E #3A821E
triadic
#6C821E #1E6C82 #821E6C
tetradic
#6C821E #1E8266 #341E82 #821E3A
square
#6C821E #1E8266 #341E82 #821E3A
split-complementary
#6C821E #1E3A82 #661E82
monochromatic
#191F07 #435013 #6C821E #95B429 #B5D446

Accessibility & contrast

On white

4.33
#6C821E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#6C821E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C821E
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C821E#FFFFFF#000000##000000
##6C821E1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A08
Deuteranopia (green-blind)
#887927
Tritanopia (blue-blind)
#727B6F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6c821e;
/* rgb */ color: rgb(108, 130, 30);
/* oklch */ color: oklch(57.0% 0.125 121.5);
Tailwind
colors: {
  custom: {
    50: '#99a662',
    500: '#6c821e',
    950: '#000000',
  },
}
SCSS
$custom: #6c821e;
$custom-light: #99a662;
$custom-dark: #000000;
JSON
{
  "hex": "#6c821e",
  "rgb": {
    "r": 108,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 73.2,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56983,
    "c": 0.12461,
    "h": 121.5
  },
  "luminance": 0.19247
}

Semantic roles & 50–950 ramp

primary
#6C821E
secondary
#5F47B5
accent
#42E666
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #6C821E

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

Preview Lab → · Contrast checker → · Palette generator →

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