#2A6B0F#2A6B0F

#2A6B0F is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.7% C 0.138 H 138.8°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#2A6B0F
RGBrgb(42, 107, 15)
HSLhsl(102, 75%, 24%)
HSVhsv(102, 86%, 42%)
CMYKcmyk(60.7%, 0%, 86%, 58%)
CIE-LABlab(39.65, -37.54, 41.06)
CIE-LCHlch(39.65, 55.63, 132.44°)
OKLaboklab(46.74% -0.1036 0.0907)
OKLCHoklch(46.74% 0.138 138.8)
XYZxyz(6.2985, 11.0416, 2.2512)
Luminance0.1104 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6B0F #500F6B
analogous
#586B0F #2A6B0F #0F6B22
triadic
#2A6B0F #0F2A6B #6B0F2A
tetradic
#2A6B0F #0F586B #500F6B #6B220F
square
#2A6B0F #0F586B #500F6B #6B220F
split-complementary
#2A6B0F #220F6B #6B0F58
monochromatic
#0B1B04 #153507 #2A6B0F #3FA117 #54D61E

Accessibility & contrast

On white

6.55
#2A6B0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2A6B0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6B0F
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6B0F#FFFFFF#000000##FFFFFF
##2A6B0F1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6100
Deuteranopia (green-blind)
#665B1B
Tritanopia (blue-blind)
#23675A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a6b0f;
/* rgb */ color: rgb(42, 107, 15);
/* oklch */ color: oklch(46.7% 0.138 138.8);
Tailwind
colors: {
  custom: {
    50: '#6c9657',
    500: '#2a6b0f',
    950: '#000000',
  },
}
SCSS
$custom: #2a6b0f;
$custom-light: #6c9657;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6b0f",
  "rgb": {
    "r": 42,
    "g": 107,
    "b": 15
  },
  "hsl": {
    "h": 102.391,
    "s": 75.41,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46737,
    "c": 0.13768,
    "h": 138.8
  },
  "luminance": 0.11042
}

Semantic roles & 50–950 ramp

primary
#2A6B0F
secondary
#8232A3
accent
#36F2BB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #2A6B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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