#6D8620#6D8620

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

Color values

HEX#6D8620
RGBrgb(109, 134, 32)
HSLhsl(75, 61%, 33%)
HSVhsv(75, 76%, 53%)
CMYKcmyk(18.7%, 0%, 76.1%, 47.5%)
CIE-LABlab(52.29, -23.61, 48.55)
CIE-LCHlch(52.29, 53.98, 115.93°)
OKLaboklab(58.07% -0.0691 0.1077)
OKLCHoklch(58.07% 0.128 122.7)
XYZxyz(15.0927, 20.4056, 4.5098)
Luminance0.2041 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8620 #392086
analogous
#866C20 #6D8620 #3A8620
triadic
#6D8620 #206D86 #86206D
tetradic
#6D8620 #20866C #392086 #86203A
square
#6D8620 #20866C #392086 #86203A
split-complementary
#6D8620 #203A86 #6C2086
monochromatic
#1D2308 #455514 #6D8620 #95B72C #B3D44C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D8620#FFFFFF#000000##000000
##6D86201.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)
#8E7D0A
Deuteranopia (green-blind)
#8B7D29
Tritanopia (blue-blind)
#737F73
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6d8620;
/* rgb */ color: rgb(109, 134, 32);
/* oklch */ color: oklch(58.1% 0.128 122.7);
Tailwind
colors: {
  custom: {
    50: '#9aa964',
    500: '#6d8620',
    950: '#000000',
  },
}
SCSS
$custom: #6d8620;
$custom-light: #9aa964;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8620",
  "rgb": {
    "r": 109,
    "g": 134,
    "b": 32
  },
  "hsl": {
    "h": 74.706,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58069,
    "c": 0.128,
    "h": 122.7
  },
  "luminance": 0.20406
}

Semantic roles & 50–950 ramp

primary
#6D8620
secondary
#654BB7
accent
#43E56B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6D8620

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

Preview Lab → · Contrast checker → · Palette generator →

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