#2A6E16#2A6E16

#2A6E16 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.138 H 139.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#2A6E16
RGBrgb(42, 110, 22)
HSLhsl(106, 67%, 26%)
HSVhsv(106, 80%, 43%)
CMYKcmyk(61.8%, 0%, 80%, 56.9%)
CIE-LABlab(40.74, -38.27, 39.75)
CIE-LCHlch(40.74, 55.18, 133.91°)
OKLaboklab(47.65% -0.1052 0.089)
OKLCHoklch(47.65% 0.138 139.7)
XYZxyz(6.6753, 11.7014, 2.6657)
Luminance0.1170 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6E16 #5A166E
analogous
#566E16 #2A6E16 #166E2E
triadic
#2A6E16 #162A6E #6E162A
tetradic
#2A6E16 #16566E #5A166E #6E2E16
square
#2A6E16 #16566E #5A166E #6E2E16
split-complementary
#2A6E16 #2E166E #6E1656
monochromatic
#0A1A05 #173B0C #2A6E16 #3DA120 #51D42A

Accessibility & contrast

On white

6.29
#2A6E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#2A6E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6E16
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6E16#FFFFFF#000000##FFFFFF
##2A6E161.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716303
Deuteranopia (green-blind)
#695E20
Tritanopia (blue-blind)
#226A5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2a6e16;
/* rgb */ color: rgb(42, 110, 22);
/* oklch */ color: oklch(47.6% 0.138 139.7);
Tailwind
colors: {
  custom: {
    50: '#6d985b',
    500: '#2a6e16',
    950: '#000000',
  },
}
SCSS
$custom: #2a6e16;
$custom-light: #6d985b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6e16",
  "rgb": {
    "r": 42,
    "g": 110,
    "b": 22
  },
  "hsl": {
    "h": 106.364,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47648,
    "c": 0.13779,
    "h": 139.7
  },
  "luminance": 0.11702
}

Semantic roles & 50–950 ramp

primary
#2A6E16
secondary
#8C3CA4
accent
#3EEAC3
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2A6E16

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

Preview Lab → · Contrast checker → · Palette generator →

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