#6C831D#6C831D

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

Color values

HEX#6C831D
RGBrgb(108, 131, 29)
HSLhsl(74, 64%, 31%)
HSVhsv(74, 78%, 51%)
CMYKcmyk(17.6%, 0%, 77.9%, 48.6%)
CIE-LABlab(51.28, -22.69, 48.62)
CIE-LCHlch(51.28, 53.65, 115.01°)
OKLaboklab(57.23% -0.0668 0.1074)
OKLCHoklch(57.23% 0.126 121.9)
XYZxyz(14.5226, 19.5094, 4.1628)
Luminance0.1951 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C831D #341D83
analogous
#83671D #6C831D #39831D
triadic
#6C831D #1D6C83 #831D6C
tetradic
#6C831D #1D8367 #341D83 #831D39
square
#6C831D #1D8367 #341D83 #831D39
split-complementary
#6C831D #1D3983 #671D83
monochromatic
#191F07 #435112 #6C831D #95B528 #B5D645

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C831D#FFFFFF#000000##000000
##6C831D1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B05
Deuteranopia (green-blind)
#887A27
Tritanopia (blue-blind)
#727C70
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6c831d;
/* rgb */ color: rgb(108, 131, 29);
/* oklch */ color: oklch(57.2% 0.126 121.9);
Tailwind
colors: {
  custom: {
    50: '#99a762',
    500: '#6c831d',
    950: '#000000',
  },
}
SCSS
$custom: #6c831d;
$custom-light: #99a762;
$custom-dark: #000000;
JSON
{
  "hex": "#6c831d",
  "rgb": {
    "r": 108,
    "g": 131,
    "b": 29
  },
  "hsl": {
    "h": 73.529,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57226,
    "c": 0.12646,
    "h": 121.9
  },
  "luminance": 0.19509
}

Semantic roles & 50–950 ramp

primary
#6C831D
secondary
#5F46B6
accent
#41E766
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #6C831D

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

Preview Lab → · Contrast checker → · Palette generator →

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