#2A6614#2A6614

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

Color values

HEX#2A6614
RGBrgb(42, 102, 20)
HSLhsl(104, 67%, 24%)
HSVhsv(104, 80%, 40%)
CMYKcmyk(58.8%, 0%, 80.4%, 60%)
CIE-LABlab(37.92, -35.21, 37.74)
CIE-LCHlch(37.92, 51.62, 133.02°)
OKLaboklab(45.32% -0.0971 0.0845)
OKLCHoklch(45.32% 0.129 139)
XYZxyz(5.8323, 10.0450, 2.2932)
Luminance0.1004 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6614 #501466
analogous
#536614 #2A6614 #146627
triadic
#2A6614 #142A66 #66142A
tetradic
#2A6614 #145366 #501466 #662714
square
#2A6614 #145366 #501466 #662714
split-complementary
#2A6614 #271466 #661453
monochromatic
#0B1A05 #15330A #2A6614 #3F991E #54CC28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A6614#FFFFFF#000000##FFFFFF
##2A66141.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)
#695C03
Deuteranopia (green-blind)
#62571D
Tritanopia (blue-blind)
#246256
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a6614;
/* rgb */ color: rgb(42, 102, 20);
/* oklch */ color: oklch(45.3% 0.129 139.0);
Tailwind
colors: {
  custom: {
    50: '#6b9258',
    500: '#2a6614',
    950: '#000000',
  },
}
SCSS
$custom: #2a6614;
$custom-light: #6b9258;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6614",
  "rgb": {
    "r": 42,
    "g": 102,
    "b": 20
  },
  "hsl": {
    "h": 103.902,
    "s": 67.213,
    "l": 23.922
  },
  "oklch": {
    "l": 0.4532,
    "c": 0.1287,
    "h": 139
  },
  "luminance": 0.10045
}

Semantic roles & 50–950 ramp

primary
#2A6614
secondary
#82399D
accent
#3EEABC
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2A6614

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

Preview Lab → · Contrast checker → · Palette generator →

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