#6D8D18#6D8D18

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

Color values

HEX#6D8D18
RGBrgb(109, 141, 24)
HSLhsl(76, 71%, 32%)
HSVhsv(76, 83%, 55%)
CMYKcmyk(22.7%, 0%, 83%, 44.7%)
CIE-LABlab(54.41, -27.45, 53.09)
CIE-LCHlch(54.41, 59.77, 117.34°)
OKLaboklab(59.77% -0.0802 0.116)
OKLCHoklch(59.77% 0.141 124.7)
XYZxyz(15.9966, 22.3667, 4.3384)
Luminance0.2237 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8D18 #38188D
analogous
#8D7218 #6D8D18 #338D18
triadic
#6D8D18 #186D8D #8D186D
tetradic
#6D8D18 #188D72 #38188D #8D1833
square
#6D8D18 #188D72 #38188D #8D1833
split-complementary
#6D8D18 #18338D #72188D
monochromatic
#1C2406 #45590F #6D8D18 #95C121 #B3DF41

Accessibility & contrast

On white

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

On black

5.47
#6D8D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8D18
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8D18#FFFFFF#000000##000000
##6D8D181.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d8d18;
/* rgb */ color: rgb(109, 141, 24);
/* oklch */ color: oklch(59.8% 0.141 124.7);
Tailwind
colors: {
  custom: {
    50: '#9bae61',
    500: '#6d8d18',
    950: '#000000',
  },
}
SCSS
$custom: #6d8d18;
$custom-light: #9bae61;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8d18",
  "rgb": {
    "r": 109,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 76.41,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59772,
    "c": 0.14101,
    "h": 124.7
  },
  "luminance": 0.22367
}

Semantic roles & 50–950 ramp

primary
#6D8D18
secondary
#6442BF
accent
#3AEE6B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6D8D18

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

Preview Lab → · Contrast checker → · Palette generator →

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