#6D8D20#6D8D20

#6D8D20 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.8% C 0.137 H 125.0°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#6D8D20
RGBrgb(109, 141, 32)
HSLhsl(78, 63%, 34%)
HSVhsv(78, 77%, 55%)
CMYKcmyk(22.7%, 0%, 77.3%, 44.7%)
CIE-LABlab(54.45, -27.07, 50.61)
CIE-LCHlch(54.45, 57.40, 118.14°)
OKLaboklab(59.82% -0.0786 0.1121)
OKLCHoklch(59.82% 0.137 125)
XYZxyz(16.0924, 22.4051, 4.8430)
Luminance0.2240 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8D20 #40208D
analogous
#8D7720 #6D8D20 #368D20
triadic
#6D8D20 #206D8D #8D206D
tetradic
#6D8D20 #208D77 #40208D #8D2036
square
#6D8D20 #208D77 #40208D #8D2036
split-complementary
#6D8D20 #20368D #77208D
monochromatic
#202909 #465B15 #6D8D20 #94BF2B #B0D750

Accessibility & contrast

On white

3.83
#6D8D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#6D8D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8D20
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8D20#FFFFFF#000000##000000
##6D8D201.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958306
Deuteranopia (green-blind)
#91822A
Tritanopia (blue-blind)
#728678
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6d8d20;
/* rgb */ color: rgb(109, 141, 32);
/* oklch */ color: oklch(59.8% 0.137 125.0);
Tailwind
colors: {
  custom: {
    50: '#9aae65',
    500: '#6d8d20',
    950: '#000000',
  },
}
SCSS
$custom: #6d8d20;
$custom-light: #9aae65;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8d20",
  "rgb": {
    "r": 109,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 77.615,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59818,
    "c": 0.13689,
    "h": 125
  },
  "luminance": 0.22405
}

Semantic roles & 50–950 ramp

primary
#6D8D20
secondary
#6E4EBA
accent
#42E672
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6D8D20

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

Preview Lab → · Contrast checker → · Palette generator →

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