#2A6114#2A6114

#2A6114 is a dark, vivid green. Relative luminance 0.091; OKLCH L 43.9% C 0.122 H 138.5°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#2A6114
RGBrgb(42, 97, 20)
HSLhsl(103, 66%, 23%)
HSVhsv(103, 79%, 38%)
CMYKcmyk(56.7%, 0%, 79.4%, 62%)
CIE-LABlab(36.16, -33.14, 36.01)
CIE-LCHlch(36.16, 48.94, 132.63°)
OKLaboklab(43.87% -0.0915 0.0809)
OKLCHoklch(43.87% 0.122 138.5)
XYZxyz(5.3556, 9.0917, 2.1343)
Luminance0.0909 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6114 #4B1461
analogous
#506114 #2A6114 #146124
triadic
#2A6114 #142A61 #61142A
tetradic
#2A6114 #145061 #4B1461 #612414
square
#2A6114 #145061 #4B1461 #612414
split-complementary
#2A6114 #241461 #611450
monochromatic
#0B1905 #142E0A #2A6114 #40941E #56C629

Accessibility & contrast

On white

7.45
#2A6114 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2A6114 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A6114
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6114#FFFFFF#000000##FFFFFF
##2A61141.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645805
Deuteranopia (green-blind)
#5D531C
Tritanopia (blue-blind)
#255D52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2a6114;
/* rgb */ color: rgb(42, 97, 20);
/* oklch */ color: oklch(43.9% 0.122 138.5);
Tailwind
colors: {
  custom: {
    50: '#6a8e58',
    500: '#2a6114',
    950: '#000000',
  },
}
SCSS
$custom: #2a6114;
$custom-light: #6a8e58;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6114",
  "rgb": {
    "r": 42,
    "g": 97,
    "b": 20
  },
  "hsl": {
    "h": 102.857,
    "s": 65.812,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43866,
    "c": 0.12213,
    "h": 138.5
  },
  "luminance": 0.09092
}

Semantic roles & 50–950 ramp

primary
#2A6114
secondary
#7D3898
accent
#3FE9B8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2A6114

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

Preview Lab → · Contrast checker → · Palette generator →

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