#6B8918#6B8918

#6B8918 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.6% C 0.137 H 124.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#6B8918
RGBrgb(107, 137, 24)
HSLhsl(76, 70%, 32%)
HSVhsv(76, 82%, 54%)
CMYKcmyk(21.9%, 0%, 82.5%, 46.3%)
CIE-LABlab(53.04, -26.34, 51.81)
CIE-LCHlch(53.04, 58.13, 116.95°)
OKLaboklab(58.63% -0.0771 0.1133)
OKLCHoklch(58.63% 0.137 124.2)
XYZxyz(15.1741, 21.0829, 4.1340)
Luminance0.2108 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8918 #361889
analogous
#896F18 #6B8918 #338918
triadic
#6B8918 #186B89 #89186B
tetradic
#6B8918 #18896F #361889 #891833
square
#6B8918 #18896F #361889 #891833
split-complementary
#6B8918 #183389 #6F1889
monochromatic
#1A2106 #42550F #6B8918 #94BD21 #B3DD3E

Accessibility & contrast

On white

4.03
#6B8918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#6B8918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8918
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8918#FFFFFF#000000##000000
##6B89181.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b8918;
/* rgb */ color: rgb(107, 137, 24);
/* oklch */ color: oklch(58.6% 0.137 124.2);
Tailwind
colors: {
  custom: {
    50: '#99ab60',
    500: '#6b8918',
    950: '#000000',
  },
}
SCSS
$custom: #6b8918;
$custom-light: #99ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8918",
  "rgb": {
    "r": 107,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 75.929,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58625,
    "c": 0.13704,
    "h": 124.2
  },
  "luminance": 0.21083
}

Semantic roles & 50–950 ramp

primary
#6B8918
secondary
#6140BD
accent
#3BED6A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6B8918

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

Preview Lab → · Contrast checker → · Palette generator →

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