#6A8115#6A8115

#6A8115 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.5% C 0.129 H 121.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#6A8115
RGBrgb(106, 129, 21)
HSLhsl(73, 72%, 29%)
HSVhsv(73, 84%, 51%)
CMYKcmyk(17.8%, 0%, 83.7%, 49.4%)
CIE-LABlab(50.47, -22.91, 50.37)
CIE-LCHlch(50.47, 55.34, 114.46°)
OKLaboklab(56.53% -0.0679 0.1097)
OKLCHoklch(56.53% 0.129 121.8)
XYZxyz(13.9297, 18.8188, 3.6079)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8115 #2C1581
analogous
#816215 #6A8115 #348115
triadic
#6A8115 #156A81 #81156A
tetradic
#6A8115 #158162 #2C1581 #811534
square
#6A8115 #158162 #2C1581 #811534
split-complementary
#6A8115 #153481 #621581
monochromatic
#161A04 #3F4C0C #6A8115 #95B61E #B9DE33

Accessibility & contrast

On white

4.41
#6A8115 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#6A8115 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8115
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8115#FFFFFF#000000##000000
##6A81151.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#867821
Tritanopia (blue-blind)
#707A6E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6a8115;
/* rgb */ color: rgb(106, 129, 21);
/* oklch */ color: oklch(56.5% 0.129 121.8);
Tailwind
colors: {
  custom: {
    50: '#98a55e',
    500: '#6a8115',
    950: '#000000',
  },
}
SCSS
$custom: #6a8115;
$custom-light: #98a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8115",
  "rgb": {
    "r": 106,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 72.778,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.56527,
    "c": 0.12906,
    "h": 121.8
  },
  "luminance": 0.18819
}

Semantic roles & 50–950 ramp

primary
#6A8115
secondary
#563CB6
accent
#39EF60
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6A8115

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

Preview Lab → · Contrast checker → · Palette generator →

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