#6C831F#6C831F

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

Color values

HEX#6C831F
RGBrgb(108, 131, 31)
HSLhsl(74, 62%, 32%)
HSVhsv(74, 76%, 51%)
CMYKcmyk(17.6%, 0%, 76.3%, 48.6%)
CIE-LABlab(51.29, -22.58, 47.92)
CIE-LCHlch(51.29, 52.98, 115.23°)
OKLaboklab(57.24% -0.0663 0.1063)
OKLCHoklch(57.24% 0.125 122)
XYZxyz(14.5482, 19.5196, 4.2973)
Luminance0.1952 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C831F #361F83
analogous
#83681F #6C831F #3A831F
triadic
#6C831F #1F6C83 #831F6C
tetradic
#6C831F #1F8368 #361F83 #831F3A
square
#6C831F #1F8368 #361F83 #831F3A
split-complementary
#6C831F #1F3A83 #681F83
monochromatic
#1A2008 #435213 #6C831F #95B42B #B4D449

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C831F#FFFFFF#000000##000000
##6C831F1.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)
#8B7B0A
Deuteranopia (green-blind)
#887A28
Tritanopia (blue-blind)
#727C70
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6c831f;
/* rgb */ color: rgb(108, 131, 31);
/* oklch */ color: oklch(57.2% 0.125 122.0);
Tailwind
colors: {
  custom: {
    50: '#99a763',
    500: '#6c831f',
    950: '#000000',
  },
}
SCSS
$custom: #6c831f;
$custom-light: #99a763;
$custom-dark: #000000;
JSON
{
  "hex": "#6c831f",
  "rgb": {
    "r": 108,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 73.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57239,
    "c": 0.12527,
    "h": 122
  },
  "luminance": 0.1952
}

Semantic roles & 50–950 ramp

primary
#6C831F
secondary
#6148B6
accent
#43E568
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6C831F

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

Preview Lab → · Contrast checker → · Palette generator →

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