#2A6B14#2A6B14

#2A6B14 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.8% C 0.135 H 139.3°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#2A6B14
RGBrgb(42, 107, 20)
HSLhsl(105, 69%, 25%)
HSVhsv(105, 81%, 42%)
CMYKcmyk(60.7%, 0%, 81.3%, 58%)
CIE-LABlab(39.68, -37.23, 39.44)
CIE-LCHlch(39.68, 54.23, 133.35°)
OKLaboklab(46.77% -0.1025 0.0881)
OKLCHoklch(46.77% 0.135 139.3)
XYZxyz(6.3385, 11.0576, 2.4620)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6B14 #55146B
analogous
#556B14 #2A6B14 #146B2A
triadic
#2A6B14 #142A6B #6B142A
tetradic
#2A6B14 #14556B #55146B #6B2A14
square
#2A6B14 #14556B #55146B #6B2A14
split-complementary
#2A6B14 #2A146B #6B1455
monochromatic
#0A1A05 #16370A #2A6B14 #3E9F1E #52D227

Accessibility & contrast

On white

6.54
#2A6B14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2A6B14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6B14
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6B14#FFFFFF#000000##FFFFFF
##2A6B141.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6101
Deuteranopia (green-blind)
#665B1E
Tritanopia (blue-blind)
#23675B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a6b14;
/* rgb */ color: rgb(42, 107, 20);
/* oklch */ color: oklch(46.8% 0.135 139.3);
Tailwind
colors: {
  custom: {
    50: '#6c9659',
    500: '#2a6b14',
    950: '#000000',
  },
}
SCSS
$custom: #2a6b14;
$custom-light: #6c9659;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6b14",
  "rgb": {
    "r": 42,
    "g": 107,
    "b": 20
  },
  "hsl": {
    "h": 104.828,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.46768,
    "c": 0.13513,
    "h": 139.3
  },
  "luminance": 0.11058
}

Semantic roles & 50–950 ramp

primary
#2A6B14
secondary
#8739A2
accent
#3CEBBF
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2A6B14

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

Preview Lab → · Contrast checker → · Palette generator →

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