#2A6921

A color in the Green family

#2a6921 is a color in the Green family: RGB(42, 105, 33), HSL(113°, 52%, 27%), CMYK(60%, 0%, 69%, 59%). Closest named color: darkgreen. Contrast is 6.69:1 on white and 3.14:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#2a6921
RGBrgb(42 105 33)
RGB (legacy)rgb(42, 105, 33)
RGB %rgb(16% 41% 13%)
HSLhsl(113 52% 27%)
HSV / HSBhsv(113, 69%, 41%)
HWBhwb(113 13% 59%)
CMYKcmyk(60%, 0%, 69%, 59%)
CIELAB (D50)lab(39.13 -32.4 32.79)
LCHlch(39.13 46.09 134.66)
OKLaboklab(0.4631 -0.0963 0.0773)
OKLCHoklch(0.4631 0.1235 141.26)
Decimal2779425

Properties

Color ToneGreen
Closest named colordarkgreen ΔE 3.7
Closest web-safe color#336633
Hue113°
Saturation (HSL / HSV)52% / 69%
Lightness (HSL)27%
Brightness or Value (HSV)41%
Luminance (Rec.601 / Rec.709)31% / 34%
Relative luminance (WCAG)0.1071
Red / Green / Blue42 / 105 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.69:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.14: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 82.7 / -19.2 · As background with white / black text: Lc -87.8 / 21.3

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: #2a6921;
  --color-brand-oklch: oklch(46.31% 0.1235 141.26);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(42 105 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2a6921] text-[#2a6921] border-[#2a6921]">