#6B882F#6B882F

#6B882F is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.5% C 0.121 H 125.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#6B882F
RGBrgb(107, 136, 47)
HSLhsl(80, 49%, 36%)
HSVhsv(80, 65%, 53%)
CMYKcmyk(21.3%, 0%, 65.4%, 46.7%)
CIE-LABlab(52.88, -24.44, 43.00)
CIE-LCHlch(52.88, 49.46, 119.62°)
OKLaboklab(58.55% -0.0699 0.0985)
OKLCHoklch(58.55% 0.121 125.4)
XYZxyz(15.3807, 20.9392, 5.9201)
Luminance0.2094 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B882F #4C2F88
analogous
#88782F #6B882F #3E882F
triadic
#6B882F #2F6B88 #882F6B
tetradic
#6B882F #2F8878 #4C2F88 #882F3E
square
#6B882F #2F8878 #4C2F88 #882F3E
split-complementary
#6B882F #2F3E88 #782F88
monochromatic
#232D10 #475B1F #6B882F #8FB53F #AACA67

Accessibility & contrast

On white

4.05
#6B882F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#6B882F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B882F
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B882F#FFFFFF#000000##000000
##6B882F1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F24
Deuteranopia (green-blind)
#8B7E36
Tritanopia (blue-blind)
#708276
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6b882f;
/* rgb */ color: rgb(107, 136, 47);
/* oklch */ color: oklch(58.5% 0.121 125.4);
Tailwind
colors: {
  custom: {
    50: '#98aa6c',
    500: '#6b882f',
    950: '#000000',
  },
}
SCSS
$custom: #6b882f;
$custom-light: #98aa6c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b882f",
  "rgb": {
    "r": 107,
    "g": 136,
    "b": 47
  },
  "hsl": {
    "h": 79.551,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58546,
    "c": 0.12075,
    "h": 125.4
  },
  "luminance": 0.20939
}

Semantic roles & 50–950 ramp

primary
#6B882F
secondary
#7B61B1
accent
#50D87C
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6B882F

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

Preview Lab → · Contrast checker → · Palette generator →

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