#2A6714#2A6714

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

Color values

HEX#2A6714
RGBrgb(42, 103, 20)
HSLhsl(104, 67%, 24%)
HSVhsv(104, 81%, 40%)
CMYKcmyk(59.2%, 0%, 80.6%, 59.6%)
CIE-LABlab(38.27, -35.62, 38.08)
CIE-LCHlch(38.27, 52.14, 133.09°)
OKLaboklab(45.61% -0.0982 0.0852)
OKLCHoklch(45.61% 0.13 139)
XYZxyz(5.9311, 10.2427, 2.3262)
Luminance0.1024 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6714 #511467
analogous
#546714 #2A6714 #146727
triadic
#2A6714 #142A67 #67142A
tetradic
#2A6714 #145467 #511467 #672714
square
#2A6714 #145467 #511467 #672714
split-complementary
#2A6714 #271467 #671454
monochromatic
#0A1A05 #15340A #2A6714 #3F9A1E #54CD28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A6714#FFFFFF#000000##FFFFFF
##2A67141.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)
#6A5D02
Deuteranopia (green-blind)
#63581D
Tritanopia (blue-blind)
#246357
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a6714;
/* rgb */ color: rgb(42, 103, 20);
/* oklch */ color: oklch(45.6% 0.130 139.0);
Tailwind
colors: {
  custom: {
    50: '#6b9359',
    500: '#2a6714',
    950: '#000000',
  },
}
SCSS
$custom: #2a6714;
$custom-light: #6b9359;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6714",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 20
  },
  "hsl": {
    "h": 104.096,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.4561,
    "c": 0.13,
    "h": 139
  },
  "luminance": 0.10243
}

Semantic roles & 50–950 ramp

primary
#2A6714
secondary
#83399E
accent
#3DEABD
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2A6714

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

Preview Lab → · Contrast checker → · Palette generator →

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