#2A6F22#2A6F22

#2A6F22 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.0% C 0.131 H 141.6°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#2A6F22
RGBrgb(42, 111, 34)
HSLhsl(114, 53%, 28%)
HSVhsv(114, 69%, 44%)
CMYKcmyk(62.2%, 0%, 69.4%, 56.5%)
CIE-LABlab(41.18, -37.60, 35.24)
CIE-LCHlch(41.18, 51.53, 136.86°)
OKLaboklab(48.04% -0.1026 0.0813)
OKLCHoklch(48.04% 0.131 141.6)
XYZxyz(6.9277, 11.9760, 3.4596)
Luminance0.1198 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6F22 #67226F
analogous
#506F22 #2A6F22 #226F40
triadic
#2A6F22 #222A6F #6F222A
tetradic
#2A6F22 #22506F #67226F #6F4022
square
#2A6F22 #22506F #67226F #6F4022
split-complementary
#2A6F22 #40226F #6F2250
monochromatic
#091707 #184014 #2A6F22 #3C9E30 #53C645

Accessibility & contrast

On white

6.18
#2A6F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#2A6F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6F22
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6F22#FFFFFF#000000##FFFFFF
##2A6F221.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726518
Deuteranopia (green-blind)
#695F29
Tritanopia (blue-blind)
#1F6C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2a6f22;
/* rgb */ color: rgb(42, 111, 34);
/* oklch */ color: oklch(48.0% 0.131 141.6);
Tailwind
colors: {
  custom: {
    50: '#6c9961',
    500: '#2a6f22',
    950: '#000000',
  },
}
SCSS
$custom: #2a6f22;
$custom-light: #6c9961;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6f22",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 34
  },
  "hsl": {
    "h": 113.766,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48041,
    "c": 0.13089,
    "h": 141.6
  },
  "luminance": 0.11977
}

Semantic roles & 50–950 ramp

primary
#2A6F22
secondary
#994AA2
accent
#4BDDCD
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #2A6F22

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

Preview Lab → · Contrast checker → · Palette generator →

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