#2A6E2B#2A6E2B

#2A6E2B is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.9% C 0.122 H 143.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#2A6E2B
RGBrgb(42, 110, 43)
HSLhsl(121, 45%, 30%)
HSVhsv(121, 62%, 43%)
CMYKcmyk(61.8%, 0%, 60.9%, 56.9%)
CIE-LABlab(40.93, -36.12, 30.58)
CIE-LCHlch(40.93, 47.32, 139.75°)
OKLaboklab(47.86% -0.0981 0.0723)
OKLCHoklch(47.86% 0.122 143.6)
XYZxyz(6.9664, 11.8179, 4.1990)
Luminance0.1182 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6E2B #6E2A6D
analogous
#4B6E2A #2A6E2B #2A6E4D
triadic
#2A6E2B #2B2A6E #6E2B2A
tetradic
#2A6E2B #2A4B6E #6E2A6D #6E4D2A
square
#2A6E2B #2A4B6E #6E2A6D #6E4D2A
split-complementary
#2A6E2B #4D2A6E #6E2A4B
monochromatic
#081609 #19421A #2A6E2B #3B9A3C #55BE56

Accessibility & contrast

On white

6.24
#2A6E2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2A6E2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6E2B
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6E2B#FFFFFF#000000##FFFFFF
##2A6E2B1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706424
Deuteranopia (green-blind)
#685E30
Tritanopia (blue-blind)
#1E6B5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2a6e2b;
/* rgb */ color: rgb(42, 110, 43);
/* oklch */ color: oklch(47.9% 0.122 143.6);
Tailwind
colors: {
  custom: {
    50: '#6c9867',
    500: '#2a6e2b',
    950: '#000000',
  },
}
SCSS
$custom: #2a6e2b;
$custom-light: #6c9867;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6e2b",
  "rgb": {
    "r": 42,
    "g": 110,
    "b": 43
  },
  "hsl": {
    "h": 120.882,
    "s": 44.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.47863,
    "c": 0.12184,
    "h": 143.6
  },
  "luminance": 0.11819
}

Semantic roles & 50–950 ramp

primary
#2A6E2B
secondary
#A0549F
accent
#53D3D4
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2A6E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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