#6D8818#6D8818

#6D8818 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.5% C 0.135 H 123.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#6D8818
RGBrgb(109, 136, 24)
HSLhsl(74, 70%, 31%)
HSVhsv(74, 82%, 53%)
CMYKcmyk(19.9%, 0%, 82.4%, 46.7%)
CIE-LABlab(52.87, -25.00, 51.71)
CIE-LCHlch(52.87, 57.44, 115.80°)
OKLaboklab(58.52% -0.0736 0.113)
OKLCHoklch(58.52% 0.135 123.1)
XYZxyz(15.2759, 20.9254, 4.0982)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8818 #331888
analogous
#886B18 #6D8818 #358818
triadic
#6D8818 #186D88 #88186D
tetradic
#6D8818 #18886B #331888 #881835
square
#6D8818 #18886B #331888 #881835
split-complementary
#6D8818 #183588 #6B1888
monochromatic
#1A2006 #43540F #6D8818 #97BC21 #B6DD3E

Accessibility & contrast

On white

4.05
#6D8818 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#6D8818 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8818
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8818#FFFFFF#000000##000000
##6D88181.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#8D7E24
Tritanopia (blue-blind)
#738174
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6d8818;
/* rgb */ color: rgb(109, 136, 24);
/* oklch */ color: oklch(58.5% 0.135 123.1);
Tailwind
colors: {
  custom: {
    50: '#9aaa60',
    500: '#6d8818',
    950: '#000000',
  },
}
SCSS
$custom: #6d8818;
$custom-light: #9aaa60;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8818",
  "rgb": {
    "r": 109,
    "g": 136,
    "b": 24
  },
  "hsl": {
    "h": 74.464,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5852,
    "c": 0.13484,
    "h": 123.1
  },
  "luminance": 0.20925
}

Semantic roles & 50–950 ramp

primary
#6D8818
secondary
#5E40BC
accent
#3BED66
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6D8818

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

Preview Lab → · Contrast checker → · Palette generator →

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