#6D8A20#6D8A20

#6D8A20 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 59.1% C 0.133 H 124.1°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#6D8A20
RGBrgb(109, 138, 32)
HSLhsl(76, 62%, 33%)
HSVhsv(76, 77%, 54%)
CMYKcmyk(21%, 0%, 76.8%, 45.9%)
CIE-LABlab(53.53, -25.60, 49.73)
CIE-LCHlch(53.53, 55.93, 117.24°)
OKLaboklab(59.07% -0.0746 0.1102)
OKLCHoklch(59.07% 0.133 124.1)
XYZxyz(15.6560, 21.5323, 4.6976)
Luminance0.2153 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8A20 #3D208A
analogous
#8A7220 #6D8A20 #388A20
triadic
#6D8A20 #206D8A #8A206D
tetradic
#6D8A20 #208A72 #3D208A #8A2038
square
#6D8A20 #208A72 #3D208A #8A2038
split-complementary
#6D8A20 #20388A #72208A
monochromatic
#1F2709 #465814 #6D8A20 #94BC2C #B1D64E

Accessibility & contrast

On white

3.96
#6D8A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#6D8A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8A20
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8A20#FFFFFF#000000##000000
##6D8A201.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928108
Deuteranopia (green-blind)
#8E802A
Tritanopia (blue-blind)
#738376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6d8a20;
/* rgb */ color: rgb(109, 138, 32);
/* oklch */ color: oklch(59.1% 0.133 124.1);
Tailwind
colors: {
  custom: {
    50: '#9aac64',
    500: '#6d8a20',
    950: '#000000',
  },
}
SCSS
$custom: #6d8a20;
$custom-light: #9aac64;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8a20",
  "rgb": {
    "r": 109,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 76.415,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59067,
    "c": 0.13308,
    "h": 124.1
  },
  "luminance": 0.21532
}

Semantic roles & 50–950 ramp

primary
#6D8A20
secondary
#6A4DB9
accent
#42E56F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6D8A20

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

Preview Lab → · Contrast checker → · Palette generator →

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