#6B8015#6B8015

#6B8015 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.4% C 0.127 H 120.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#6B8015
RGBrgb(107, 128, 21)
HSLhsl(72, 72%, 29%)
HSVhsv(72, 84%, 50%)
CMYKcmyk(16.4%, 0%, 83.6%, 49.8%)
CIE-LABlab(50.24, -21.96, 50.19)
CIE-LCHlch(50.24, 54.79, 113.63°)
OKLaboklab(56.35% -0.0654 0.1093)
OKLCHoklch(56.35% 0.127 120.9)
XYZxyz(13.9182, 18.6183, 3.5698)
Luminance0.1862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8015 #2A1580
analogous
#806015 #6B8015 #368015
triadic
#6B8015 #156B80 #80156B
tetradic
#6B8015 #158060 #2A1580 #801536
square
#6B8015 #158060 #2A1580 #801536
split-complementary
#6B8015 #153680 #601580
monochromatic
#161A04 #3F4B0C #6B8015 #97B51E #BCDD32

Accessibility & contrast

On white

4.45
#6B8015 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#6B8015 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8015
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8015#FFFFFF#000000##000000
##6B80151.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#867820
Tritanopia (blue-blind)
#71796D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6b8015;
/* rgb */ color: rgb(107, 128, 21);
/* oklch */ color: oklch(56.4% 0.127 120.9);
Tailwind
colors: {
  custom: {
    50: '#99a45e',
    500: '#6b8015',
    950: '#000000',
  },
}
SCSS
$custom: #6b8015;
$custom-light: #99a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8015",
  "rgb": {
    "r": 107,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 71.776,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.56354,
    "c": 0.12738,
    "h": 120.9
  },
  "luminance": 0.18618
}

Semantic roles & 50–950 ramp

primary
#6B8015
secondary
#543CB5
accent
#39EF5D
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6B8015

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

Preview Lab → · Contrast checker → · Palette generator →

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