#6B8617#6B8617

#6B8617 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.9% C 0.134 H 123.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#6B8617
RGBrgb(107, 134, 23)
HSLhsl(75, 71%, 31%)
HSVhsv(75, 83%, 53%)
CMYKcmyk(20.1%, 0%, 82.8%, 47.5%)
CIE-LABlab(52.10, -24.90, 51.27)
CIE-LCHlch(52.10, 57.00, 115.91°)
OKLaboklab(57.87% -0.0733 0.112)
OKLCHoklch(57.87% 0.134 123.2)
XYZxyz(14.7434, 20.2378, 3.9400)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8617 #321786
analogous
#866917 #6B8617 #338617
triadic
#6B8617 #176B86 #86176B
tetradic
#6B8617 #178669 #321786 #861733
square
#6B8617 #178669 #321786 #861733
split-complementary
#6B8617 #173386 #691786
monochromatic
#181E05 #41520E #6B8617 #95BA20 #B6DD3A

Accessibility & contrast

On white

4.16
#6B8617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#6B8617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8617
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8617#FFFFFF#000000##000000
##6B86171.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8B7C23
Tritanopia (blue-blind)
#717F72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6b8617;
/* rgb */ color: rgb(107, 134, 23);
/* oklch */ color: oklch(57.9% 0.134 123.2);
Tailwind
colors: {
  custom: {
    50: '#99a960',
    500: '#6b8617',
    950: '#000000',
  },
}
SCSS
$custom: #6b8617;
$custom-light: #99a960;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8617",
  "rgb": {
    "r": 107,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 74.595,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57866,
    "c": 0.13381,
    "h": 123.2
  },
  "luminance": 0.20238
}

Semantic roles & 50–950 ramp

primary
#6B8617
secondary
#5D3FBA
accent
#3AED66
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6B8617

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

Preview Lab → · Contrast checker → · Palette generator →

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