#2A6914#2A6914

#2A6914 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.2% C 0.133 H 139.2°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#2A6914
RGBrgb(42, 105, 20)
HSLhsl(104, 68%, 25%)
HSVhsv(104, 81%, 41%)
CMYKcmyk(60%, 0%, 81%, 58.8%)
CIE-LABlab(38.98, -36.43, 38.76)
CIE-LCHlch(38.98, 53.19, 133.22°)
OKLaboklab(46.19% -0.1003 0.0867)
OKLCHoklch(46.19% 0.133 139.2)
XYZxyz(6.1324, 10.6454, 2.3933)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6914 #531469
analogous
#556914 #2A6914 #146929
triadic
#2A6914 #142A69 #69142A
tetradic
#2A6914 #145569 #531469 #692914
square
#2A6914 #145569 #531469 #692914
split-complementary
#2A6914 #291469 #691455
monochromatic
#0A1A05 #15360A #2A6914 #3F9C1E #53D028

Accessibility & contrast

On white

6.71
#2A6914 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2A6914 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6914
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6914#FFFFFF#000000##FFFFFF
##2A69141.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F02
Deuteranopia (green-blind)
#645A1D
Tritanopia (blue-blind)
#236559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a6914;
/* rgb */ color: rgb(42, 105, 20);
/* oklch */ color: oklch(46.2% 0.133 139.2);
Tailwind
colors: {
  custom: {
    50: '#6c9459',
    500: '#2a6914',
    950: '#000000',
  },
}
SCSS
$custom: #2a6914;
$custom-light: #6c9459;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6914",
  "rgb": {
    "r": 42,
    "g": 105,
    "b": 20
  },
  "hsl": {
    "h": 104.471,
    "s": 68,
    "l": 24.51
  },
  "oklch": {
    "l": 0.46189,
    "c": 0.13257,
    "h": 139.2
  },
  "luminance": 0.10646
}

Semantic roles & 50–950 ramp

primary
#2A6914
secondary
#8539A0
accent
#3DEBBE
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2A6914

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

Preview Lab → · Contrast checker → · Palette generator →

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