#6B8D18#6B8D18

#6B8D18 is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.6% C 0.142 H 125.5°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#6B8D18
RGBrgb(107, 141, 24)
HSLhsl(77, 71%, 32%)
HSVhsv(77, 83%, 55%)
CMYKcmyk(24.1%, 0%, 83%, 44.7%)
CIE-LABlab(54.28, -28.29, 52.93)
CIE-LCHlch(54.28, 60.01, 118.12°)
OKLaboklab(59.63% -0.0824 0.1157)
OKLCHoklch(59.63% 0.142 125.5)
XYZxyz(15.7533, 22.2413, 4.3270)
Luminance0.2224 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8D18 #3A188D
analogous
#8D7518 #6B8D18 #308D18
triadic
#6B8D18 #186B8D #8D186B
tetradic
#6B8D18 #188D75 #3A188D #8D1830
square
#6B8D18 #188D75 #3A188D #8D1830
split-complementary
#6B8D18 #18308D #75188D
monochromatic
#1C2406 #43590F #6B8D18 #93C121 #B1DF41

Accessibility & contrast

On white

3.85
#6B8D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#6B8D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8D18
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8D18#FFFFFF#000000##000000
##6B8D181.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b8d18;
/* rgb */ color: rgb(107, 141, 24);
/* oklch */ color: oklch(59.6% 0.142 125.5);
Tailwind
colors: {
  custom: {
    50: '#99ae61',
    500: '#6b8d18',
    950: '#000000',
  },
}
SCSS
$custom: #6b8d18;
$custom-light: #99ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8d18",
  "rgb": {
    "r": 107,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 77.436,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59631,
    "c": 0.142,
    "h": 125.5
  },
  "luminance": 0.22242
}

Semantic roles & 50–950 ramp

primary
#6B8D18
secondary
#6642BF
accent
#3AEE6E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6B8D18

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

Preview Lab → · Contrast checker → · Palette generator →

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