#2A6F1E#2A6F1E

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

Color values

HEX#2A6F1E
RGBrgb(42, 111, 30)
HSLhsl(111, 57%, 28%)
HSVhsv(111, 73%, 44%)
CMYKcmyk(62.2%, 0%, 73%, 56.5%)
CIE-LABlab(41.14, -38.00, 36.98)
CIE-LCHlch(41.14, 53.02, 135.78°)
OKLaboklab(48% -0.1039 0.0844)
OKLCHoklch(48% 0.134 140.9)
XYZxyz(6.8733, 11.9542, 3.1732)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6F1E #631E6F
analogous
#536F1E #2A6F1E #1E6F3A
triadic
#2A6F1E #1E2A6F #6F1E2A
tetradic
#2A6F1E #1E536F #631E6F #6F3A1E
square
#2A6F1E #1E536F #631E6F #6F3A1E
split-complementary
#2A6F1E #3A1E6F #6F1E53
monochromatic
#091807 #183F11 #2A6F1E #3C9F2B #52CB3D

Accessibility & contrast

On white

6.19
#2A6F1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#2A6F1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6F1E
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6F1E#FFFFFF#000000##FFFFFF
##2A6F1E1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726512
Deuteranopia (green-blind)
#695F26
Tritanopia (blue-blind)
#206B5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2a6f1e;
/* rgb */ color: rgb(42, 111, 30);
/* oklch */ color: oklch(48.0% 0.134 140.9);
Tailwind
colors: {
  custom: {
    50: '#6c995f',
    500: '#2a6f1e',
    950: '#000000',
  },
}
SCSS
$custom: #2a6f1e;
$custom-light: #6c995f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6f1e",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 30
  },
  "hsl": {
    "h": 111.111,
    "s": 57.447,
    "l": 27.647
  },
  "oklch": {
    "l": 0.48001,
    "c": 0.13388,
    "h": 140.9
  },
  "luminance": 0.11955
}

Semantic roles & 50–950 ramp

primary
#2A6F1E
secondary
#9546A3
accent
#47E1CA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #2A6F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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