#2A6B15#2A6B15

#2A6B15 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.8% C 0.135 H 139.4°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#2A6B15
RGBrgb(42, 107, 21)
HSLhsl(105, 67%, 25%)
HSVhsv(105, 80%, 42%)
CMYKcmyk(60.7%, 0%, 80.4%, 58%)
CIE-LABlab(39.68, -37.16, 39.09)
CIE-LCHlch(39.68, 53.93, 133.55°)
OKLaboklab(46.78% -0.1022 0.0875)
OKLCHoklch(46.78% 0.135 139.4)
XYZxyz(6.3476, 11.0612, 2.5098)
Luminance0.1106 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6B15 #56156B
analogous
#556B15 #2A6B15 #156B2B
triadic
#2A6B15 #152A6B #6B152A
tetradic
#2A6B15 #15556B #56156B #6B2B15
square
#2A6B15 #15556B #56156B #6B2B15
split-complementary
#2A6B15 #2B156B #6B1555
monochromatic
#0A1A05 #16380B #2A6B15 #3E9E1F #52D129

Accessibility & contrast

On white

6.54
#2A6B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A6B15
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6B15#FFFFFF#000000##FFFFFF
##2A6B151.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6102
Deuteranopia (green-blind)
#665B1E
Tritanopia (blue-blind)
#23675B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a6b15;
/* rgb */ color: rgb(42, 107, 21);
/* oklch */ color: oklch(46.8% 0.135 139.4);
Tailwind
colors: {
  custom: {
    50: '#6c965a',
    500: '#2a6b15',
    950: '#000000',
  },
}
SCSS
$custom: #2a6b15;
$custom-light: #6c965a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6b15",
  "rgb": {
    "r": 42,
    "g": 107,
    "b": 21
  },
  "hsl": {
    "h": 105.349,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46775,
    "c": 0.13456,
    "h": 139.4
  },
  "luminance": 0.11062
}

Semantic roles & 50–950 ramp

primary
#2A6B15
secondary
#883AA2
accent
#3EEAC0
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2A6B15

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

Preview Lab → · Contrast checker → · Palette generator →

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