#2A6613#2A6613

#2A6613 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.3% C 0.129 H 138.8°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#2A6613
RGBrgb(42, 102, 19)
HSLhsl(103, 69%, 24%)
HSVhsv(103, 81%, 40%)
CMYKcmyk(58.8%, 0%, 81.4%, 60%)
CIE-LABlab(37.92, -35.29, 38.10)
CIE-LCHlch(37.92, 51.93, 132.80°)
OKLaboklab(45.31% -0.0973 0.0851)
OKLCHoklch(45.31% 0.129 138.8)
XYZxyz(5.8235, 10.0415, 2.2473)
Luminance0.1004 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6613 #4F1366
analogous
#536613 #2A6613 #136625
triadic
#2A6613 #132A66 #66132A
tetradic
#2A6613 #135366 #4F1366 #662513
square
#2A6613 #135366 #4F1366 #662513
split-complementary
#2A6613 #251366 #661353
monochromatic
#0B1A05 #153209 #2A6613 #3F9A1D #54CD26

Accessibility & contrast

On white

6.98
#2A6613 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2A6613 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6613
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6613#FFFFFF#000000##FFFFFF
##2A66131.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C01
Deuteranopia (green-blind)
#62571C
Tritanopia (blue-blind)
#246256
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a6613;
/* rgb */ color: rgb(42, 102, 19);
/* oklch */ color: oklch(45.3% 0.129 138.8);
Tailwind
colors: {
  custom: {
    50: '#6b9258',
    500: '#2a6613',
    950: '#000000',
  },
}
SCSS
$custom: #2a6613;
$custom-light: #6b9258;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6613",
  "rgb": {
    "r": 42,
    "g": 102,
    "b": 19
  },
  "hsl": {
    "h": 103.373,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45313,
    "c": 0.12929,
    "h": 138.8
  },
  "luminance": 0.10042
}

Semantic roles & 50–950 ramp

primary
#2A6613
secondary
#81379D
accent
#3CEBBB
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2A6613

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

Preview Lab → · Contrast checker → · Palette generator →

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