#2A6822#2A6822

#2A6822 is a mid, vivid green. Relative luminance 0.105; OKLCH L 46.0% C 0.121 H 141.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#2A6822
RGBrgb(42, 104, 34)
HSLhsl(113, 51%, 27%)
HSVhsv(113, 67%, 41%)
CMYKcmyk(59.6%, 0%, 67.3%, 59.2%)
CIE-LABlab(38.74, -34.74, 32.56)
CIE-LCHlch(38.74, 47.61, 136.85°)
OKLaboklab(46.03% -0.0948 0.0756)
OKLCHoklch(46.03% 0.121 141.4)
XYZxyz(6.1936, 10.5078, 3.2149)
Luminance0.1051 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6822 #602268
analogous
#4D6822 #2A6822 #22683D
triadic
#2A6822 #222A68 #68222A
tetradic
#2A6822 #224D68 #602268 #683D22
square
#2A6822 #224D68 #602268 #683D22
split-complementary
#2A6822 #3D2268 #68224D
monochromatic
#091708 #173A13 #2A6822 #3D9631 #51C243

Accessibility & contrast

On white

6.77
#2A6822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2A6822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6822
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6822#FFFFFF#000000##FFFFFF
##2A68221.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E1A
Deuteranopia (green-blind)
#635928
Tritanopia (blue-blind)
#216559
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a6822;
/* rgb */ color: rgb(42, 104, 34);
/* oklch */ color: oklch(46.0% 0.121 141.4);
Tailwind
colors: {
  custom: {
    50: '#6b9460',
    500: '#2a6822',
    950: '#000000',
  },
}
SCSS
$custom: #2a6822;
$custom-light: #6b9460;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6822",
  "rgb": {
    "r": 42,
    "g": 104,
    "b": 34
  },
  "hsl": {
    "h": 113.143,
    "s": 50.725,
    "l": 27.059
  },
  "oklch": {
    "l": 0.46029,
    "c": 0.1213,
    "h": 141.4
  },
  "luminance": 0.10508
}

Semantic roles & 50–950 ramp

primary
#2A6822
secondary
#924A9C
accent
#4EDACA
background
#F6F9F5
surface
#ECF1EA
border
#C7CBC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2A6822

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

Preview Lab → · Contrast checker → · Palette generator →

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