#6C8231#6C8231

#6C8231 is a mid, moderate yellow-green. Relative luminance 0.194; OKLCH L 57.1% C 0.110 H 122.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#6C8231
RGBrgb(108, 130, 49)
HSLhsl(76, 45%, 35%)
HSVhsv(76, 62%, 51%)
CMYKcmyk(16.9%, 0%, 62.3%, 49%)
CIE-LABlab(51.12, -20.81, 40.18)
CIE-LCHlch(51.12, 45.25, 117.38°)
OKLaboklab(57.15% -0.0597 0.0928)
OKLCHoklch(57.15% 0.11 122.8)
XYZxyz(14.7215, 19.3751, 5.8693)
Luminance0.1938 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8231 #473182
analogous
#826F31 #6C8231 #448231
triadic
#6C8231 #316C82 #82316C
tetradic
#6C8231 #31826F #473182 #823144
square
#6C8231 #31826F #473182 #823144
split-complementary
#6C8231 #314482 #6F3182
monochromatic
#22290F #475620 #6C8231 #91AE42 #ACC668

Accessibility & contrast

On white

4.31
#6C8231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#6C8231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8231
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8231#FFFFFF#000000##000000
##6C82311.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A28
Deuteranopia (green-blind)
#867A37
Tritanopia (blue-blind)
#717C71
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6c8231;
/* rgb */ color: rgb(108, 130, 49);
/* oklch */ color: oklch(57.1% 0.110 122.8);
Tailwind
colors: {
  custom: {
    50: '#98a66d',
    500: '#6c8231',
    950: '#000000',
  },
}
SCSS
$custom: #6c8231;
$custom-light: #98a66d;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8231",
  "rgb": {
    "r": 108,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 76.296,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5715,
    "c": 0.11029,
    "h": 122.8
  },
  "luminance": 0.19375
}

Semantic roles & 50–950 ramp

primary
#6C8231
secondary
#7662AD
accent
#53D576
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E0F07
muted
#7E7F7A

Preview Lab

Preview with #6C8231

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

Preview Lab → · Contrast checker → · Palette generator →

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