#6C8522#6C8522

#6C8522 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.8% C 0.126 H 122.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#6C8522
RGBrgb(108, 133, 34)
HSLhsl(75, 59%, 33%)
HSVhsv(75, 74%, 52%)
CMYKcmyk(18.8%, 0%, 74.4%, 47.8%)
CIE-LABlab(51.93, -23.42, 47.43)
CIE-LCHlch(51.93, 52.90, 116.28°)
OKLaboklab(57.76% -0.0684 0.1058)
OKLCHoklch(57.76% 0.126 122.9)
XYZxyz(14.8608, 20.0786, 4.6057)
Luminance0.2008 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8522 #3B2285
analogous
#856D22 #6C8522 #3A8522
triadic
#6C8522 #226C85 #85226C
tetradic
#6C8522 #22856D #3B2285 #85223A
square
#6C8522 #22856D #3B2285 #85223A
split-complementary
#6C8522 #223A85 #6D2285
monochromatic
#1D2409 #445416 #6C8522 #94B62E #B1D24F

Accessibility & contrast

On white

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

On black

5.02
#6C8522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8522
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8522#FFFFFF#000000##000000
##6C85221.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c8522;
/* rgb */ color: rgb(108, 133, 34);
/* oklch */ color: oklch(57.8% 0.126 122.9);
Tailwind
colors: {
  custom: {
    50: '#99a864',
    500: '#6c8522',
    950: '#000000',
  },
}
SCSS
$custom: #6c8522;
$custom-light: #99a864;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8522",
  "rgb": {
    "r": 108,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 75.152,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57759,
    "c": 0.12593,
    "h": 122.9
  },
  "luminance": 0.20079
}

Semantic roles & 50–950 ramp

primary
#6C8522
secondary
#684DB6
accent
#45E26D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6C8522

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

Preview Lab → · Contrast checker → · Palette generator →

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