#6A862A#6A862A

#6A862A is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.9% C 0.123 H 124.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6A862A
RGBrgb(106, 134, 42)
HSLhsl(78, 52%, 35%)
HSVhsv(78, 69%, 53%)
CMYKcmyk(20.9%, 0%, 68.7%, 47.5%)
CIE-LABlab(52.15, -24.25, 44.39)
CIE-LCHlch(52.15, 50.58, 118.64°)
OKLaboklab(57.93% -0.0698 0.1007)
OKLCHoklch(57.93% 0.123 124.7)
XYZxyz(14.8870, 20.2814, 5.3204)
Luminance0.2028 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A862A #462A86
analogous
#86742A #6A862A #3C862A
triadic
#6A862A #2A6A86 #862A6A
tetradic
#6A862A #2A8674 #462A86 #862A3C
square
#6A862A #2A8674 #462A86 #862A3C
split-complementary
#6A862A #2A3C86 #742A86
monochromatic
#20290D #45571B #6A862A #8FB539 #ABCD5E

Accessibility & contrast

On white

4.15
#6A862A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#6A862A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A862A
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A862A#FFFFFF#000000##000000
##6A862A1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1D
Deuteranopia (green-blind)
#8A7C31
Tritanopia (blue-blind)
#6F7F73
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6a862a;
/* rgb */ color: rgb(106, 134, 42);
/* oklch */ color: oklch(57.9% 0.123 124.7);
Tailwind
colors: {
  custom: {
    50: '#97a969',
    500: '#6a862a',
    950: '#000000',
  },
}
SCSS
$custom: #6a862a;
$custom-light: #97a969;
$custom-dark: #000000;
JSON
{
  "hex": "#6a862a",
  "rgb": {
    "r": 106,
    "g": 134,
    "b": 42
  },
  "hsl": {
    "h": 78.261,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57926,
    "c": 0.12251,
    "h": 124.7
  },
  "luminance": 0.20282
}

Semantic roles & 50–950 ramp

primary
#6A862A
secondary
#755AB2
accent
#4CDC78
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6A862A

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

Preview Lab → · Contrast checker → · Palette generator →

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