#2A6F16#2A6F16

#2A6F16 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.139 H 139.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#2A6F16
RGBrgb(42, 111, 22)
HSLhsl(107, 67%, 26%)
HSVhsv(107, 80%, 44%)
CMYKcmyk(62.2%, 0%, 80.2%, 56.5%)
CIE-LABlab(41.09, -38.66, 40.09)
CIE-LCHlch(41.09, 55.69, 133.96°)
OKLaboklab(47.94% -0.1062 0.0897)
OKLCHoklch(47.94% 0.139 139.8)
XYZxyz(6.7838, 11.9184, 2.7019)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6F16 #5B166F
analogous
#566F16 #2A6F16 #166F2E
triadic
#2A6F16 #162A6F #6F162A
tetradic
#2A6F16 #16566F #5B166F #6F2E16
square
#2A6F16 #16566F #5B166F #6F2E16
split-complementary
#2A6F16 #2E166F #6F1656
monochromatic
#0A1A05 #173C0C #2A6F16 #3DA220 #51D52B

Accessibility & contrast

On white

6.21
#2A6F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#2A6F16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6F16
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6F16#FFFFFF#000000##FFFFFF
##2A6F161.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726402
Deuteranopia (green-blind)
#6A5F20
Tritanopia (blue-blind)
#216B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2a6f16;
/* rgb */ color: rgb(42, 111, 22);
/* oklch */ color: oklch(47.9% 0.139 139.8);
Tailwind
colors: {
  custom: {
    50: '#6d995b',
    500: '#2a6f16',
    950: '#000000',
  },
}
SCSS
$custom: #2a6f16;
$custom-light: #6d995b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6f16",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 22
  },
  "hsl": {
    "h": 106.517,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47936,
    "c": 0.13905,
    "h": 139.8
  },
  "luminance": 0.11919
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A6F16

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

Preview Lab → · Contrast checker → · Palette generator →

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