#2A6D0F#2A6D0F

#2A6D0F is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.3% C 0.140 H 139.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#2A6D0F
RGBrgb(42, 109, 15)
HSLhsl(103, 76%, 24%)
HSVhsv(103, 86%, 43%)
CMYKcmyk(61.5%, 0%, 86.2%, 57.3%)
CIE-LABlab(40.35, -38.32, 41.70)
CIE-LCHlch(40.35, 56.63, 132.58°)
OKLaboklab(47.32% -0.1057 0.092)
OKLCHoklch(47.32% 0.14 139)
XYZxyz(6.5094, 11.4634, 2.3215)
Luminance0.1146 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6D0F #520F6D
analogous
#596D0F #2A6D0F #0F6D23
triadic
#2A6D0F #0F2A6D #6D0F2A
tetradic
#2A6D0F #0F596D #520F6D #6D230F
square
#2A6D0F #0F596D #520F6D #6D230F
split-complementary
#2A6D0F #230F6D #6D0F59
monochromatic
#0A1B04 #153708 #2A6D0F #3FA316 #53D91E

Accessibility & contrast

On white

6.38
#2A6D0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#2A6D0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6D0F
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6D0F#FFFFFF#000000##FFFFFF
##2A6D0F1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#685D1B
Tritanopia (blue-blind)
#23695C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2a6d0f;
/* rgb */ color: rgb(42, 109, 15);
/* oklch */ color: oklch(47.3% 0.140 139.0);
Tailwind
colors: {
  custom: {
    50: '#6d9757',
    500: '#2a6d0f',
    950: '#000000',
  },
}
SCSS
$custom: #2a6d0f;
$custom-light: #6d9757;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6d0f",
  "rgb": {
    "r": 42,
    "g": 109,
    "b": 15
  },
  "hsl": {
    "h": 102.766,
    "s": 75.806,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47316,
    "c": 0.14014,
    "h": 139
  },
  "luminance": 0.11464
}

Semantic roles & 50–950 ramp

primary
#2A6D0F
secondary
#8433A5
accent
#35F2BC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2A6D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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