#6D8218#6D8218

#6D8218 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 57.0% C 0.127 H 120.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#6D8218
RGBrgb(109, 130, 24)
HSLhsl(72, 69%, 30%)
HSVhsv(72, 82%, 51%)
CMYKcmyk(16.2%, 0%, 81.5%, 49%)
CIE-LABlab(51.02, -21.98, 50.05)
CIE-LCHlch(51.02, 54.66, 113.71°)
OKLaboklab(57.02% -0.0653 0.1095)
OKLCHoklch(57.02% 0.127 120.8)
XYZxyz(14.4544, 19.2824, 3.8244)
Luminance0.1928 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8218 #2D1882
analogous
#826218 #6D8218 #388218
triadic
#6D8218 #186D82 #82186D
tetradic
#6D8218 #188262 #2D1882 #821838
square
#6D8218 #188262 #2D1882 #821838
split-complementary
#6D8218 #183882 #621882
monochromatic
#161B05 #424E0E #6D8218 #98B622 #BBDB3A

Accessibility & contrast

On white

4.32
#6D8218 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#6D8218 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8218
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8218#FFFFFF#000000##000000
##6D82181.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#887A23
Tritanopia (blue-blind)
#747B6F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6d8218;
/* rgb */ color: rgb(109, 130, 24);
/* oklch */ color: oklch(57.0% 0.127 120.8);
Tailwind
colors: {
  custom: {
    50: '#9aa65f',
    500: '#6d8218',
    950: '#000000',
  },
}
SCSS
$custom: #6d8218;
$custom-light: #9aa65f;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8218",
  "rgb": {
    "r": 109,
    "g": 130,
    "b": 24
  },
  "hsl": {
    "h": 71.887,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.57024,
    "c": 0.12747,
    "h": 120.8
  },
  "luminance": 0.19282
}

Semantic roles & 50–950 ramp

primary
#6D8218
secondary
#5740B6
accent
#3CEC5F
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6D8218

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

Preview Lab → · Contrast checker → · Palette generator →

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