#6D8A21#6D8A21

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

Color values

HEX#6D8A21
RGBrgb(109, 138, 33)
HSLhsl(77, 61%, 34%)
HSVhsv(77, 76%, 54%)
CMYKcmyk(21%, 0%, 76.1%, 45.9%)
CIE-LABlab(53.53, -25.55, 49.38)
CIE-LCHlch(53.53, 55.60, 117.36°)
OKLaboklab(59.07% -0.0743 0.1097)
OKLCHoklch(59.07% 0.132 124.1)
XYZxyz(15.6698, 21.5378, 4.7702)
Luminance0.2154 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8A21 #3E218A
analogous
#8A7221 #6D8A21 #388A21
triadic
#6D8A21 #216D8A #8A216D
tetradic
#6D8A21 #218A72 #3E218A #8A2138
square
#6D8A21 #218A72 #3E218A #8A2138
split-complementary
#6D8A21 #21388A #72218A
monochromatic
#1F2709 #465915 #6D8A21 #94BB2D #B0D550

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D8A21#FFFFFF#000000##000000
##6D8A211.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)
#92810A
Deuteranopia (green-blind)
#8E802B
Tritanopia (blue-blind)
#728376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6d8a21;
/* rgb */ color: rgb(109, 138, 33);
/* oklch */ color: oklch(59.1% 0.132 124.1);
Tailwind
colors: {
  custom: {
    50: '#9aac65',
    500: '#6d8a21',
    950: '#000000',
  },
}
SCSS
$custom: #6d8a21;
$custom-light: #9aac65;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8a21",
  "rgb": {
    "r": 109,
    "g": 138,
    "b": 33
  },
  "hsl": {
    "h": 76.571,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59074,
    "c": 0.13248,
    "h": 124.1
  },
  "luminance": 0.21538
}

Semantic roles & 50–950 ramp

primary
#6D8A21
secondary
#6C4EB9
accent
#43E570
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6D8A21

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

Preview Lab → · Contrast checker → · Palette generator →

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