#6D8918#6D8918

#6D8918 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.8% C 0.136 H 123.4°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#6D8918
RGBrgb(109, 137, 24)
HSLhsl(75, 70%, 32%)
HSVhsv(75, 82%, 54%)
CMYKcmyk(20.4%, 0%, 82.5%, 46.3%)
CIE-LABlab(53.18, -25.49, 51.99)
CIE-LCHlch(53.18, 57.90, 116.12°)
OKLaboklab(58.77% -0.0749 0.1136)
OKLCHoklch(58.77% 0.136 123.4)
XYZxyz(15.4174, 21.2084, 4.1454)
Luminance0.2121 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8918 #341889
analogous
#896D18 #6D8918 #358918
triadic
#6D8918 #186D89 #89186D
tetradic
#6D8918 #18896D #341889 #891835
square
#6D8918 #18896D #341889 #891835
split-complementary
#6D8918 #183589 #6D1889
monochromatic
#1A2106 #44550F #6D8918 #96BD21 #B6DD3E

Accessibility & contrast

On white

4.01
#6D8918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#6D8918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8918
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8918#FFFFFF#000000##000000
##6D89181.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#8E7F24
Tritanopia (blue-blind)
#738275
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6d8918;
/* rgb */ color: rgb(109, 137, 24);
/* oklch */ color: oklch(58.8% 0.136 123.4);
Tailwind
colors: {
  custom: {
    50: '#9aab60',
    500: '#6d8918',
    950: '#000000',
  },
}
SCSS
$custom: #6d8918;
$custom-light: #9aab60;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8918",
  "rgb": {
    "r": 109,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 74.867,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5877,
    "c": 0.13608,
    "h": 123.4
  },
  "luminance": 0.21208
}

Semantic roles & 50–950 ramp

primary
#6D8918
secondary
#5F40BD
accent
#3BED67
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6D8918

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

Preview Lab → · Contrast checker → · Palette generator →

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