#2A6739

A color in the Green family

#2a6739 is a color in the Green family: RGB(42, 103, 57), HSL(135°, 42%, 28%), CMYK(59%, 0%, 45%, 60%). Closest named color: darkolivegreen. Contrast is 6.78:1 on white and 3.1:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#2a6739
RGBrgb(42 103 57)
RGB (legacy)rgb(42, 103, 57)
RGB %rgb(16% 40% 22%)
HSLhsl(135 42% 28%)
HSV / HSBhsv(135, 59%, 40%)
HWBhwb(135 16% 60%)
CMYKcmyk(59%, 0%, 45%, 60%)
CIELAB (D50)lab(38.7 -29.02 19.78)
LCHlch(38.7 35.12 145.72)
OKLaboklab(0.461 -0.0836 0.0498)
OKLCHoklch(0.461 0.0973 149.22)
Decimal2778937

Properties

Color ToneGreen
Closest named colordarkolivegreen ΔE 5.1
Closest web-safe color#336633
Hue135°
Saturation (HSL / HSV)42% / 59%
Lightness (HSL)28%
Brightness or Value (HSV)40%
Luminance (Rec.601 / Rec.709)31% / 34%
Relative luminance (WCAG)0.1049
Red / Green / Blue42 / 103 / 57

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.78:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.10:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 83.1 / -18.8 · As background with white / black text: Lc -88.2 / 20.9

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #2a6739;
  --color-brand-oklch: oklch(46.1% 0.0973 149.22);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(42 103 57 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2a6739] text-[#2a6739] border-[#2a6739]">