#6C8315#6C8315

#6C8315 is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 57.2% C 0.131 H 121.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#6C8315
RGBrgb(108, 131, 21)
HSLhsl(73, 72%, 30%)
HSVhsv(73, 84%, 51%)
CMYKcmyk(17.6%, 0%, 84%, 48.6%)
CIE-LABlab(51.24, -23.05, 51.10)
CIE-LCHlch(51.24, 56.06, 114.28°)
OKLaboklab(57.18% -0.0684 0.1112)
OKLCHoklch(57.18% 0.131 121.6)
XYZxyz(14.4363, 19.4749, 3.7078)
Luminance0.1948 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8315 #2C1583
analogous
#836315 #6C8315 #358315
triadic
#6C8315 #156C83 #83156C
tetradic
#6C8315 #158363 #2C1583 #831535
square
#6C8315 #158363 #2C1583 #831535
split-complementary
#6C8315 #153583 #631583
monochromatic
#161A04 #414E0D #6C8315 #97B81D #BBDE34

Accessibility & contrast

On white

4.29
#6C8315 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#6C8315 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8315
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8315#FFFFFF#000000##000000
##6C83151.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c8315;
/* rgb */ color: rgb(108, 131, 21);
/* oklch */ color: oklch(57.2% 0.131 121.6);
Tailwind
colors: {
  custom: {
    50: '#9aa75e',
    500: '#6c8315',
    950: '#000000',
  },
}
SCSS
$custom: #6c8315;
$custom-light: #9aa75e;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8315",
  "rgb": {
    "r": 108,
    "g": 131,
    "b": 21
  },
  "hsl": {
    "h": 72.545,
    "s": 72.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.57181,
    "c": 0.13058,
    "h": 121.6
  },
  "luminance": 0.19475
}

Semantic roles & 50–950 ramp

primary
#6C8315
secondary
#563CB8
accent
#39EF5F
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6C8315

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

Preview Lab → · Contrast checker → · Palette generator →

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