#2A6E19#2A6E19

#2A6E19 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.7% C 0.136 H 140.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#2A6E19
RGBrgb(42, 110, 25)
HSLhsl(108, 63%, 26%)
HSVhsv(108, 77%, 43%)
CMYKcmyk(61.8%, 0%, 77.3%, 56.9%)
CIE-LABlab(40.76, -38.04, 38.63)
CIE-LCHlch(40.76, 54.22, 134.55°)
OKLaboklab(47.67% -0.1043 0.0872)
OKLCHoklch(47.67% 0.136 140.1)
XYZxyz(6.7059, 11.7137, 2.8271)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6E19 #5D196E
analogous
#556E19 #2A6E19 #196E33
triadic
#2A6E19 #192A6E #6E192A
tetradic
#2A6E19 #19556E #5D196E #6E3319
square
#2A6E19 #19556E #5D196E #6E3319
split-complementary
#2A6E19 #33196E #6E1955
monochromatic
#0A1906 #173C0E #2A6E19 #3DA024 #51D031

Accessibility & contrast

On white

6.28
#2A6E19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#2A6E19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6E19
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6E19#FFFFFF#000000##FFFFFF
##2A6E191.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716409
Deuteranopia (green-blind)
#695E22
Tritanopia (blue-blind)
#216A5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2a6e19;
/* rgb */ color: rgb(42, 110, 25);
/* oklch */ color: oklch(47.7% 0.136 140.1);
Tailwind
colors: {
  custom: {
    50: '#6d985c',
    500: '#2a6e19',
    950: '#000000',
  },
}
SCSS
$custom: #2a6e19;
$custom-light: #6d985c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6e19",
  "rgb": {
    "r": 42,
    "g": 110,
    "b": 25
  },
  "hsl": {
    "h": 108,
    "s": 62.963,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47671,
    "c": 0.13596,
    "h": 140.1
  },
  "luminance": 0.11714
}

Semantic roles & 50–950 ramp

primary
#2A6E19
secondary
#8F3FA3
accent
#42E6C5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2A6E19

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

Preview Lab → · Contrast checker → · Palette generator →

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