#2A6710#2A6710

#2A6710 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.6% C 0.132 H 138.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#2A6710
RGBrgb(42, 103, 16)
HSLhsl(102, 73%, 23%)
HSVhsv(102, 84%, 40%)
CMYKcmyk(59.2%, 0%, 84.5%, 59.6%)
CIE-LABlab(38.25, -35.89, 39.45)
CIE-LCHlch(38.25, 53.33, 132.29°)
OKLaboklab(45.58% -0.0991 0.0875)
OKLCHoklch(45.58% 0.132 138.6)
XYZxyz(5.8984, 10.2297, 2.1538)
Luminance0.1023 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6710 #4D1067
analogous
#556710 #2A6710 #106721
triadic
#2A6710 #102A67 #67102A
tetradic
#2A6710 #105567 #4D1067 #672110
square
#2A6710 #105567 #4D1067 #672110
split-complementary
#2A6710 #211067 #671055
monochromatic
#0B1A04 #143208 #2A6710 #409C18 #55D120

Accessibility & contrast

On white

6.89
#2A6710 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2A6710 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6710
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6710#FFFFFF#000000##FFFFFF
##2A67101.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#63581A
Tritanopia (blue-blind)
#246357
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a6710;
/* rgb */ color: rgb(42, 103, 16);
/* oklch */ color: oklch(45.6% 0.132 138.6);
Tailwind
colors: {
  custom: {
    50: '#6c9357',
    500: '#2a6710',
    950: '#000000',
  },
}
SCSS
$custom: #2a6710;
$custom-light: #6c9357;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6710",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 16
  },
  "hsl": {
    "h": 102.069,
    "s": 73.109,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45583,
    "c": 0.13218,
    "h": 138.6
  },
  "luminance": 0.1023
}

Semantic roles & 50–950 ramp

primary
#2A6710
secondary
#7F339F
accent
#38F0B9
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #2A6710

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

Preview Lab → · Contrast checker → · Palette generator →

#2A6710 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva