#2A6830#2A6830

#2A6830 is a mid, moderate green. Relative luminance 0.106; OKLCH L 46.2% C 0.108 H 145.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#2A6830
RGBrgb(42, 104, 48)
HSLhsl(126, 42%, 29%)
HSVhsv(126, 60%, 41%)
CMYKcmyk(59.6%, 0%, 53.8%, 59.2%)
CIE-LABlab(38.91, -32.85, 25.50)
CIE-LCHlch(38.91, 41.59, 142.18°)
OKLaboklab(46.22% -0.089 0.0615)
OKLCHoklch(46.22% 0.108 145.4)
XYZxyz(6.4383, 10.6057, 4.5036)
Luminance0.1061 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6830 #682A62
analogous
#43682A #2A6830 #2A684F
triadic
#2A6830 #302A68 #68302A
tetradic
#2A6830 #2A4368 #682A62 #684F2A
square
#2A6830 #2A4368 #682A62 #684F2A
split-complementary
#2A6830 #4F2A68 #682A43
monochromatic
#09160A #183C1C #2A6830 #3C9444 #53B95D

Accessibility & contrast

On white

6.73
#2A6830 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2A6830 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6830
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6830#FFFFFF#000000##FFFFFF
##2A68301.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5F2B
Deuteranopia (green-blind)
#625934
Tritanopia (blue-blind)
#1E655B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a6830;
/* rgb */ color: rgb(42, 104, 48);
/* oklch */ color: oklch(46.2% 0.108 145.4);
Tailwind
colors: {
  custom: {
    50: '#6a9469',
    500: '#2a6830',
    950: '#000000',
  },
}
SCSS
$custom: #2a6830;
$custom-light: #6a9469;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6830",
  "rgb": {
    "r": 42,
    "g": 104,
    "b": 48
  },
  "hsl": {
    "h": 125.806,
    "s": 42.466,
    "l": 28.627
  },
  "oklch": {
    "l": 0.46224,
    "c": 0.10823,
    "h": 145.4
  },
  "luminance": 0.10606
}

Semantic roles & 50–950 ramp

primary
#2A6830
secondary
#9A5493
accent
#56C6D2
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #2A6830

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

Preview Lab → · Contrast checker → · Palette generator →

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