#2A6619#2A6619

#2A6619 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.4% C 0.125 H 139.7°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#2A6619
RGBrgb(42, 102, 25)
HSLhsl(107, 61%, 25%)
HSVhsv(107, 75%, 40%)
CMYKcmyk(58.8%, 0%, 75.5%, 60%)
CIE-LABlab(37.96, -34.81, 35.79)
CIE-LCHlch(37.96, 49.93, 134.20°)
OKLaboklab(45.36% -0.0956 0.0812)
OKLCHoklch(45.36% 0.125 139.7)
XYZxyz(5.8814, 10.0647, 2.5523)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6619 #551966
analogous
#516619 #2A6619 #19662E
triadic
#2A6619 #192A66 #66192A
tetradic
#2A6619 #195166 #551966 #662E19
square
#2A6619 #195166 #551966 #662E19
split-complementary
#2A6619 #2E1966 #661951
monochromatic
#0A1906 #16350D #2A6619 #3E9725 #52C831

Accessibility & contrast

On white

6.97
#2A6619 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A6619
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6619#FFFFFF#000000##FFFFFF
##2A66191.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C0C
Deuteranopia (green-blind)
#615721
Tritanopia (blue-blind)
#236257
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a6619;
/* rgb */ color: rgb(42, 102, 25);
/* oklch */ color: oklch(45.4% 0.125 139.7);
Tailwind
colors: {
  custom: {
    50: '#6b925b',
    500: '#2a6619',
    950: '#000000',
  },
}
SCSS
$custom: #2a6619;
$custom-light: #6b925b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6619",
  "rgb": {
    "r": 42,
    "g": 102,
    "b": 25
  },
  "hsl": {
    "h": 106.753,
    "s": 60.63,
    "l": 24.902
  },
  "oklch": {
    "l": 0.4536,
    "c": 0.12548,
    "h": 139.7
  },
  "luminance": 0.10065
}

Semantic roles & 50–950 ramp

primary
#2A6619
secondary
#873F9C
accent
#44E4C0
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2A6619

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

Preview Lab → · Contrast checker → · Palette generator →

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