#6D8622#6D8622

#6D8622 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 58.1% C 0.127 H 122.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#6D8622
RGBrgb(109, 134, 34)
HSLhsl(75, 60%, 33%)
HSVhsv(75, 75%, 53%)
CMYKcmyk(18.7%, 0%, 74.6%, 47.5%)
CIE-LABlab(52.31, -23.49, 47.82)
CIE-LCHlch(52.31, 53.28, 116.16°)
OKLaboklab(58.08% -0.0686 0.1066)
OKLCHoklch(58.08% 0.127 122.8)
XYZxyz(15.1207, 20.4168, 4.6573)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8622 #3B2286
analogous
#866D22 #6D8622 #3B8622
triadic
#6D8622 #226D86 #86226D
tetradic
#6D8622 #22866D #3B2286 #86223B
square
#6D8622 #22866D #3B2286 #86223B
split-complementary
#6D8622 #223B86 #6D2286
monochromatic
#1E2409 #455516 #6D8622 #95B72E #B2D350

Accessibility & contrast

On white

4.13
#6D8622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#6D8622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8622
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8622#FFFFFF#000000##000000
##6D86221.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0F
Deuteranopia (green-blind)
#8B7D2B
Tritanopia (blue-blind)
#737F73
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6d8622;
/* rgb */ color: rgb(109, 134, 34);
/* oklch */ color: oklch(58.1% 0.127 122.8);
Tailwind
colors: {
  custom: {
    50: '#9aa965',
    500: '#6d8622',
    950: '#000000',
  },
}
SCSS
$custom: #6d8622;
$custom-light: #9aa965;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8622",
  "rgb": {
    "r": 109,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 75,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58083,
    "c": 0.12675,
    "h": 122.8
  },
  "luminance": 0.20417
}

Semantic roles & 50–950 ramp

primary
#6D8622
secondary
#684EB6
accent
#45E36D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6D8622

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

Preview Lab → · Contrast checker → · Palette generator →

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