#6D8D1A#6D8D1A

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

Color values

HEX#6D8D1A
RGBrgb(109, 141, 26)
HSLhsl(77, 69%, 33%)
HSVhsv(77, 82%, 55%)
CMYKcmyk(22.7%, 0%, 81.6%, 44.7%)
CIE-LABlab(54.42, -27.37, 52.52)
CIE-LCHlch(54.42, 59.22, 117.52°)
OKLaboklab(59.78% -0.0799 0.1151)
OKLCHoklch(59.78% 0.14 124.8)
XYZxyz(16.0182, 22.3754, 4.4521)
Luminance0.2238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8D1A #3A1A8D
analogous
#8D741A #6D8D1A #338D1A
triadic
#6D8D1A #1A6D8D #8D1A6D
tetradic
#6D8D1A #1A8D74 #3A1A8D #8D1A33
square
#6D8D1A #1A8D74 #3A1A8D #8D1A33
split-complementary
#6D8D1A #1A338D #741A8D
monochromatic
#1D2607 #455910 #6D8D1A #95C124 #B2DD45

Accessibility & contrast

On white

3.84
#6D8D1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D8D1A#FFFFFF#000000##000000
##6D8D1A1.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#918226
Tritanopia (blue-blind)
#728678
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6d8d1a;
/* rgb */ color: rgb(109, 141, 26);
/* oklch */ color: oklch(59.8% 0.140 124.8);
Tailwind
colors: {
  custom: {
    50: '#9aae62',
    500: '#6d8d1a',
    950: '#000000',
  },
}
SCSS
$custom: #6d8d1a;
$custom-light: #9aae62;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8d1a",
  "rgb": {
    "r": 109,
    "g": 141,
    "b": 26
  },
  "hsl": {
    "h": 76.696,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59782,
    "c": 0.14006,
    "h": 124.8
  },
  "luminance": 0.22376
}

Semantic roles & 50–950 ramp

primary
#6D8D1A
secondary
#6745BE
accent
#3CEC6D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6D8D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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