#6B882A#6B882A

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

Color values

HEX#6B882A
RGBrgb(107, 136, 42)
HSLhsl(79, 53%, 35%)
HSVhsv(79, 69%, 53%)
CMYKcmyk(21.3%, 0%, 69.1%, 46.7%)
CIE-LABlab(52.84, -24.82, 45.12)
CIE-LCHlch(52.84, 51.50, 118.82°)
OKLaboklab(58.5% -0.0714 0.1022)
OKLCHoklch(58.5% 0.125 124.9)
XYZxyz(15.2856, 20.9011, 5.4191)
Luminance0.2090 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B882A #472A88
analogous
#88762A #6B882A #3C882A
triadic
#6B882A #2A6B88 #882A6B
tetradic
#6B882A #2A8876 #472A88 #882A3C
square
#6B882A #2A8876 #472A88 #882A3C
split-complementary
#6B882A #2A3C88 #762A88
monochromatic
#212A0D #46591C #6B882A #90B738 #ABCE5F

Accessibility & contrast

On white

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

On black

5.18
#6B882A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B882A
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B882A#FFFFFF#000000##000000
##6B882A1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F1C
Deuteranopia (green-blind)
#8C7E31
Tritanopia (blue-blind)
#708175
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6b882a;
/* rgb */ color: rgb(107, 136, 42);
/* oklch */ color: oklch(58.5% 0.125 124.9);
Tailwind
colors: {
  custom: {
    50: '#98aa69',
    500: '#6b882a',
    950: '#000000',
  },
}
SCSS
$custom: #6b882a;
$custom-light: #98aa69;
$custom-dark: #000000;
JSON
{
  "hex": "#6b882a",
  "rgb": {
    "r": 107,
    "g": 136,
    "b": 42
  },
  "hsl": {
    "h": 78.511,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58499,
    "c": 0.12471,
    "h": 124.9
  },
  "luminance": 0.20901
}

Semantic roles & 50–950 ramp

primary
#6B882A
secondary
#765BB3
accent
#4CDC78
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6B882A

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

Preview Lab → · Contrast checker → · Palette generator →

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