#6B8817#6B8817

#6B8817 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.4% C 0.136 H 123.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6B8817
RGBrgb(107, 136, 23)
HSLhsl(75, 71%, 31%)
HSVhsv(75, 83%, 53%)
CMYKcmyk(21.3%, 0%, 83.1%, 46.7%)
CIE-LABlab(52.73, -25.89, 51.82)
CIE-LCHlch(52.73, 57.93, 116.55°)
OKLaboklab(58.37% -0.076 0.1131)
OKLCHoklch(58.37% 0.136 123.9)
XYZxyz(15.0224, 20.7959, 4.0330)
Luminance0.2080 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8817 #341788
analogous
#886C17 #6B8817 #328817
triadic
#6B8817 #176B88 #88176B
tetradic
#6B8817 #17886C #341788 #881732
square
#6B8817 #17886C #341788 #881732
split-complementary
#6B8817 #173288 #6C1788
monochromatic
#191F05 #42540E #6B8817 #94BC20 #B4DE3B

Accessibility & contrast

On white

4.07
#6B8817 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#6B8817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8817
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8817#FFFFFF#000000##000000
##6B88171.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b8817;
/* rgb */ color: rgb(107, 136, 23);
/* oklch */ color: oklch(58.4% 0.136 123.9);
Tailwind
colors: {
  custom: {
    50: '#99aa60',
    500: '#6b8817',
    950: '#000000',
  },
}
SCSS
$custom: #6b8817;
$custom-light: #99aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8817",
  "rgb": {
    "r": 107,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 75.398,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58368,
    "c": 0.13627,
    "h": 123.9
  },
  "luminance": 0.20796
}

Semantic roles & 50–950 ramp

primary
#6B8817
secondary
#5F3FBC
accent
#3AEE68
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E1005
muted
#7E7F79

Preview Lab

Preview with #6B8817

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

Preview Lab → · Contrast checker → · Palette generator →

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