#6D8718#6D8718

#6D8718 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 58.3% C 0.134 H 122.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#6D8718
RGBrgb(109, 135, 24)
HSLhsl(74, 70%, 31%)
HSVhsv(74, 82%, 53%)
CMYKcmyk(19.3%, 0%, 82.2%, 47.1%)
CIE-LABlab(52.56, -24.50, 51.43)
CIE-LCHlch(52.56, 56.97, 115.47°)
OKLaboklab(58.27% -0.0722 0.1124)
OKLCHoklch(58.27% 0.134 122.7)
XYZxyz(15.1357, 20.6450, 4.0515)
Luminance0.2064 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8718 #321887
analogous
#876918 #6D8718 #358718
triadic
#6D8718 #186D87 #87186D
tetradic
#6D8718 #188769 #321887 #871835
square
#6D8718 #188769 #321887 #871835
split-complementary
#6D8718 #183587 #691887
monochromatic
#191F06 #43530F #6D8718 #97BB21 #B7DC3D

Accessibility & contrast

On white

4.09
#6D8718 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#6D8718 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8718
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8718#FFFFFF#000000##000000
##6D87181.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#8C7D24
Tritanopia (blue-blind)
#738073
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6d8718;
/* rgb */ color: rgb(109, 135, 24);
/* oklch */ color: oklch(58.3% 0.134 122.7);
Tailwind
colors: {
  custom: {
    50: '#9aaa60',
    500: '#6d8718',
    950: '#000000',
  },
}
SCSS
$custom: #6d8718;
$custom-light: #9aaa60;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8718",
  "rgb": {
    "r": 109,
    "g": 135,
    "b": 24
  },
  "hsl": {
    "h": 74.054,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58271,
    "c": 0.13361,
    "h": 122.7
  },
  "luminance": 0.20645
}

Semantic roles & 50–950 ramp

primary
#6D8718
secondary
#5D40BB
accent
#3BED65
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6D8718

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

Preview Lab → · Contrast checker → · Palette generator →

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