#2A6713#2A6713

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

Color values

HEX#2A6713
RGBrgb(42, 103, 19)
HSLhsl(104, 69%, 24%)
HSVhsv(104, 82%, 40%)
CMYKcmyk(59.2%, 0%, 81.6%, 59.6%)
CIE-LABlab(38.27, -35.69, 38.44)
CIE-LCHlch(38.27, 52.45, 132.88°)
OKLaboklab(45.6% -0.0984 0.0858)
OKLCHoklch(45.6% 0.131 138.9)
XYZxyz(5.9224, 10.2393, 2.2803)
Luminance0.1024 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6713 #501367
analogous
#546713 #2A6713 #136726
triadic
#2A6713 #132A67 #67132A
tetradic
#2A6713 #135467 #501367 #672613
square
#2A6713 #135467 #501367 #672613
split-complementary
#2A6713 #261367 #671354
monochromatic
#0B1A05 #153309 #2A6713 #3F9B1D #54CE26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A6713#FFFFFF#000000##FFFFFF
##2A67131.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)
#6A5D01
Deuteranopia (green-blind)
#63581C
Tritanopia (blue-blind)
#246357
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a6713;
/* rgb */ color: rgb(42, 103, 19);
/* oklch */ color: oklch(45.6% 0.131 138.9);
Tailwind
colors: {
  custom: {
    50: '#6b9358',
    500: '#2a6713',
    950: '#000000',
  },
}
SCSS
$custom: #2a6713;
$custom-light: #6b9358;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6713",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 19
  },
  "hsl": {
    "h": 103.571,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45603,
    "c": 0.13058,
    "h": 138.9
  },
  "luminance": 0.1024
}

Semantic roles & 50–950 ramp

primary
#2A6713
secondary
#82379E
accent
#3CECBC
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2A6713

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

Preview Lab → · Contrast checker → · Palette generator →

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