#6C8520#6C8520

#6C8520 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.7% C 0.127 H 122.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#6C8520
RGBrgb(108, 133, 32)
HSLhsl(75, 61%, 32%)
HSVhsv(75, 76%, 52%)
CMYKcmyk(18.8%, 0%, 75.9%, 47.8%)
CIE-LABlab(51.91, -23.54, 48.16)
CIE-LCHlch(51.91, 53.60, 116.05°)
OKLaboklab(57.75% -0.0689 0.1069)
OKLCHoklch(57.75% 0.127 122.8)
XYZxyz(14.8328, 20.0674, 4.4582)
Luminance0.2007 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8520 #392085
analogous
#856B20 #6C8520 #3A8520
triadic
#6C8520 #206C85 #85206C
tetradic
#6C8520 #20856B #392085 #85203A
square
#6C8520 #20856B #392085 #85203A
split-complementary
#6C8520 #203A85 #6B2085
monochromatic
#1C2208 #445414 #6C8520 #94B62C #B2D44C

Accessibility & contrast

On white

4.19
#6C8520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#6C8520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8520
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8520#FFFFFF#000000##000000
##6C85201.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0B
Deuteranopia (green-blind)
#8A7C29
Tritanopia (blue-blind)
#727E72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6c8520;
/* rgb */ color: rgb(108, 133, 32);
/* oklch */ color: oklch(57.7% 0.127 122.8);
Tailwind
colors: {
  custom: {
    50: '#99a863',
    500: '#6c8520',
    950: '#000000',
  },
}
SCSS
$custom: #6c8520;
$custom-light: #99a863;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8520",
  "rgb": {
    "r": 108,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 74.851,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57745,
    "c": 0.1272,
    "h": 122.8
  },
  "luminance": 0.20067
}

Semantic roles & 50–950 ramp

primary
#6C8520
secondary
#654AB7
accent
#43E46B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6C8520

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

Preview Lab → · Contrast checker → · Palette generator →

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