#6D8315#6D8315

#6D8315 is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 57.3% C 0.130 H 121.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#6D8315
RGBrgb(109, 131, 21)
HSLhsl(72, 72%, 30%)
HSVhsv(72, 84%, 51%)
CMYKcmyk(16.8%, 0%, 84%, 48.6%)
CIE-LABlab(51.31, -22.61, 51.19)
CIE-LCHlch(51.31, 55.96, 113.83°)
OKLaboklab(57.26% -0.0673 0.1114)
OKLCHoklch(57.26% 0.13 121.1)
XYZxyz(14.5586, 19.5380, 3.7136)
Luminance0.1954 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8315 #2B1583
analogous
#836215 #6D8315 #368315
triadic
#6D8315 #156D83 #83156D
tetradic
#6D8315 #158362 #2B1583 #831536
square
#6D8315 #158362 #2B1583 #831536
split-complementary
#6D8315 #153683 #621583
monochromatic
#161A04 #414E0D #6D8315 #99B81D #BCDE34

Accessibility & contrast

On white

4.28
#6D8315 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#6D8315 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8315
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8315#FFFFFF#000000##000000
##6D83151.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#897A21
Tritanopia (blue-blind)
#747C6F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6d8315;
/* rgb */ color: rgb(109, 131, 21);
/* oklch */ color: oklch(57.3% 0.130 121.1);
Tailwind
colors: {
  custom: {
    50: '#9aa75e',
    500: '#6d8315',
    950: '#000000',
  },
}
SCSS
$custom: #6d8315;
$custom-light: #9aa75e;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8315",
  "rgb": {
    "r": 109,
    "g": 131,
    "b": 21
  },
  "hsl": {
    "h": 72,
    "s": 72.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.57258,
    "c": 0.13012,
    "h": 121.1
  },
  "luminance": 0.19538
}

Semantic roles & 50–950 ramp

primary
#6D8315
secondary
#553CB8
accent
#39EF5D
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6D8315

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

Preview Lab → · Contrast checker → · Palette generator →

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