#6A882B#6A882B

#6A882B is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.4% C 0.124 H 125.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#6A882B
RGBrgb(106, 136, 43)
HSLhsl(79, 52%, 35%)
HSVhsv(79, 68%, 53%)
CMYKcmyk(22.1%, 0%, 68.4%, 46.7%)
CIE-LABlab(52.78, -25.17, 44.62)
CIE-LCHlch(52.78, 51.23, 119.43°)
OKLaboklab(58.44% -0.0722 0.1013)
OKLCHoklch(58.44% 0.124 125.5)
XYZxyz(15.1841, 20.8467, 5.5089)
Luminance0.2085 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A882B #492B88
analogous
#88772B #6A882B #3B882B
triadic
#6A882B #2B6A88 #882B6A
tetradic
#6A882B #2B8877 #492B88 #882B3B
square
#6A882B #2B8877 #492B88 #882B3B
split-complementary
#6A882B #2B3B88 #772B88
monochromatic
#222B0E #465A1C #6A882B #8EB63A #AACD61

Accessibility & contrast

On white

4.06
#6A882B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#6A882B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A882B
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A882B#FFFFFF#000000##000000
##6A882B1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1E
Deuteranopia (green-blind)
#8B7E32
Tritanopia (blue-blind)
#6F8275
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6a882b;
/* rgb */ color: rgb(106, 136, 43);
/* oklch */ color: oklch(58.4% 0.124 125.5);
Tailwind
colors: {
  custom: {
    50: '#97aa6a',
    500: '#6a882b',
    950: '#000000',
  },
}
SCSS
$custom: #6a882b;
$custom-light: #97aa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a882b",
  "rgb": {
    "r": 106,
    "g": 136,
    "b": 43
  },
  "hsl": {
    "h": 79.355,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58436,
    "c": 0.12443,
    "h": 125.5
  },
  "luminance": 0.20847
}

Semantic roles & 50–950 ramp

primary
#6A882B
secondary
#785CB3
accent
#4CDB7B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6A882B

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

Preview Lab → · Contrast checker → · Palette generator →

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