#6D8618#6D8618

#6D8618 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 58.0% C 0.132 H 122.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#6D8618
RGBrgb(109, 134, 24)
HSLhsl(74, 70%, 31%)
HSVhsv(74, 82%, 53%)
CMYKcmyk(18.7%, 0%, 82.1%, 47.5%)
CIE-LABlab(52.25, -24.00, 51.16)
CIE-LCHlch(52.25, 56.51, 115.13°)
OKLaboklab(58.02% -0.0708 0.1118)
OKLCHoklch(58.02% 0.132 122.4)
XYZxyz(14.9969, 20.3673, 4.0052)
Luminance0.2037 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8618 #311886
analogous
#866818 #6D8618 #368618
triadic
#6D8618 #186D86 #86186D
tetradic
#6D8618 #188668 #311886 #861836
square
#6D8618 #188668 #311886 #861836
split-complementary
#6D8618 #183686 #681886
monochromatic
#191E05 #43520F #6D8618 #97BA21 #B8DC3C

Accessibility & contrast

On white

4.14
#6D8618 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#6D8618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8618
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8618#FFFFFF#000000##000000
##6D86181.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8B7D24
Tritanopia (blue-blind)
#737F72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6d8618;
/* rgb */ color: rgb(109, 134, 24);
/* oklch */ color: oklch(58.0% 0.132 122.4);
Tailwind
colors: {
  custom: {
    50: '#9aa960',
    500: '#6d8618',
    950: '#000000',
  },
}
SCSS
$custom: #6d8618;
$custom-light: #9aa960;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8618",
  "rgb": {
    "r": 109,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 73.636,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.58021,
    "c": 0.13238,
    "h": 122.4
  },
  "luminance": 0.20367
}

Semantic roles & 50–950 ramp

primary
#6D8618
secondary
#5C40BA
accent
#3BEC64
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6D8618

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

Preview Lab → · Contrast checker → · Palette generator →

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