#6B8718#6B8718

#6B8718 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 58.1% C 0.135 H 123.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#6B8718
RGBrgb(107, 135, 24)
HSLhsl(75, 70%, 31%)
HSVhsv(75, 82%, 53%)
CMYKcmyk(20.7%, 0%, 82.2%, 47.1%)
CIE-LABlab(52.42, -25.36, 51.26)
CIE-LCHlch(52.42, 57.19, 116.32°)
OKLaboklab(58.12% -0.0744 0.1121)
OKLCHoklch(58.12% 0.135 123.6)
XYZxyz(14.8924, 20.5196, 4.0401)
Luminance0.2052 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8718 #341887
analogous
#876B18 #6B8718 #338718
triadic
#6B8718 #186B87 #87186B
tetradic
#6B8718 #18876B #341887 #871833
square
#6B8718 #18876B #341887 #871833
split-complementary
#6B8718 #183387 #6B1887
monochromatic
#191F06 #42530F #6B8718 #94BB21 #B4DC3D

Accessibility & contrast

On white

4.11
#6B8718 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#6B8718 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8718
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8718#FFFFFF#000000##000000
##6B87181.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#8C7D24
Tritanopia (blue-blind)
#718073
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6b8718;
/* rgb */ color: rgb(107, 135, 24);
/* oklch */ color: oklch(58.1% 0.135 123.6);
Tailwind
colors: {
  custom: {
    50: '#99aa60',
    500: '#6b8718',
    950: '#000000',
  },
}
SCSS
$custom: #6b8718;
$custom-light: #99aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8718",
  "rgb": {
    "r": 107,
    "g": 135,
    "b": 24
  },
  "hsl": {
    "h": 75.135,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58122,
    "c": 0.13457,
    "h": 123.6
  },
  "luminance": 0.2052
}

Semantic roles & 50–950 ramp

primary
#6B8718
secondary
#5F40BB
accent
#3BED68
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6B8718

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

Preview Lab → · Contrast checker → · Palette generator →

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