#6D8722#6D8722

#6D8722 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 58.3% C 0.128 H 123.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#6D8722
RGBrgb(109, 135, 34)
HSLhsl(75, 60%, 33%)
HSVhsv(75, 75%, 53%)
CMYKcmyk(19.3%, 0%, 74.8%, 47.1%)
CIE-LABlab(52.61, -24.00, 48.12)
CIE-LCHlch(52.61, 53.77, 116.50°)
OKLaboklab(58.33% -0.07 0.1072)
OKLCHoklch(58.33% 0.128 123.2)
XYZxyz(15.2596, 20.6946, 4.7036)
Luminance0.2069 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8722 #3C2287
analogous
#876E22 #6D8722 #3A8722
triadic
#6D8722 #226D87 #87226D
tetradic
#6D8722 #22876E #3C2287 #87223A
square
#6D8722 #22876E #3C2287 #87223A
split-complementary
#6D8722 #223A87 #6E2287
monochromatic
#1E2509 #465616 #6D8722 #94B82E #B1D350

Accessibility & contrast

On white

4.09
#6D8722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#6D8722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8722
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8722#FFFFFF#000000##000000
##6D87221.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0E
Deuteranopia (green-blind)
#8C7D2B
Tritanopia (blue-blind)
#738074
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6d8722;
/* rgb */ color: rgb(109, 135, 34);
/* oklch */ color: oklch(58.3% 0.128 123.2);
Tailwind
colors: {
  custom: {
    50: '#9aaa65',
    500: '#6d8722',
    950: '#000000',
  },
}
SCSS
$custom: #6d8722;
$custom-light: #9aaa65;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8722",
  "rgb": {
    "r": 109,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 75.446,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58332,
    "c": 0.12802,
    "h": 123.2
  },
  "luminance": 0.20695
}

Semantic roles & 50–950 ramp

primary
#6D8722
secondary
#694EB7
accent
#45E36E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6D8722

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

Preview Lab → · Contrast checker → · Palette generator →

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