#6C831A#6C831A

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

Color values

HEX#6C831A
RGBrgb(108, 131, 26)
HSLhsl(73, 67%, 31%)
HSVhsv(73, 80%, 51%)
CMYKcmyk(17.6%, 0%, 80.2%, 48.6%)
CIE-LABlab(51.26, -22.83, 49.61)
CIE-LCHlch(51.26, 54.61, 114.71°)
OKLaboklab(57.21% -0.0674 0.1089)
OKLCHoklch(57.21% 0.128 121.8)
XYZxyz(14.4873, 19.4953, 3.9768)
Luminance0.1950 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C831A #311A83
analogous
#83651A #6C831A #37831A
triadic
#6C831A #1A6C83 #831A6C
tetradic
#6C831A #1A8365 #311A83 #831A37
square
#6C831A #1A8365 #311A83 #831A37
split-complementary
#6C831A #1A3783 #651A83
monochromatic
#181D06 #425010 #6C831A #96B624 #B7D93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C831A#FFFFFF#000000##000000
##6C831A1.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)
#887A24
Tritanopia (blue-blind)
#727C70
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6c831a;
/* rgb */ color: rgb(108, 131, 26);
/* oklch */ color: oklch(57.2% 0.128 121.8);
Tailwind
colors: {
  custom: {
    50: '#99a760',
    500: '#6c831a',
    950: '#000000',
  },
}
SCSS
$custom: #6c831a;
$custom-light: #99a760;
$custom-dark: #000000;
JSON
{
  "hex": "#6c831a",
  "rgb": {
    "r": 108,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 73.143,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57207,
    "c": 0.12813,
    "h": 121.8
  },
  "luminance": 0.19495
}

Semantic roles & 50–950 ramp

primary
#6C831A
secondary
#5C42B7
accent
#3EEA64
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #6C831A

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

Preview Lab → · Contrast checker → · Palette generator →

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