#6D8615#6D8615

#6D8615 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 58.0% C 0.134 H 122.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#6D8615
RGBrgb(109, 134, 21)
HSLhsl(73, 73%, 30%)
HSVhsv(73, 84%, 53%)
CMYKcmyk(18.7%, 0%, 84.3%, 47.5%)
CIE-LABlab(52.24, -24.12, 52.01)
CIE-LCHlch(52.24, 57.33, 114.88°)
OKLaboklab(58.01% -0.0714 0.1131)
OKLCHoklch(58.01% 0.134 122.3)
XYZxyz(14.9674, 20.3555, 3.8498)
Luminance0.2036 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8615 #2E1586
analogous
#866615 #6D8615 #358615
triadic
#6D8615 #156D86 #86156D
tetradic
#6D8615 #158666 #2E1586 #861535
square
#6D8615 #158666 #2E1586 #861535
split-complementary
#6D8615 #153586 #661586
monochromatic
#171C04 #42510D #6D8615 #98BB1D #BADF36

Accessibility & contrast

On white

4.14
#6D8615 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#6D8615 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8615
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8615#FFFFFF#000000##000000
##6D86151.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#8B7D22
Tritanopia (blue-blind)
#737F72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6d8615;
/* rgb */ color: rgb(109, 134, 21);
/* oklch */ color: oklch(58.0% 0.134 122.3);
Tailwind
colors: {
  custom: {
    50: '#9aa95f',
    500: '#6d8615',
    950: '#000000',
  },
}
SCSS
$custom: #6d8615;
$custom-light: #9aa95f;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8615",
  "rgb": {
    "r": 109,
    "g": 134,
    "b": 21
  },
  "hsl": {
    "h": 73.274,
    "s": 72.903,
    "l": 30.392
  },
  "oklch": {
    "l": 0.58006,
    "c": 0.13376,
    "h": 122.3
  },
  "luminance": 0.20356
}

Semantic roles & 50–950 ramp

primary
#6D8615
secondary
#583CBA
accent
#38F061
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6D8615

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

Preview Lab → · Contrast checker → · Palette generator →

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