#2A6930#2A6930

#2A6930 is a mid, moderate green. Relative luminance 0.108; OKLCH L 46.5% C 0.110 H 145.3°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#2A6930
RGBrgb(42, 105, 48)
HSLhsl(126, 43%, 29%)
HSVhsv(126, 60%, 41%)
CMYKcmyk(60%, 0%, 54.3%, 58.8%)
CIE-LABlab(39.26, -33.29, 25.93)
CIE-LCHlch(39.26, 42.19, 142.08°)
OKLaboklab(46.51% -0.0902 0.0625)
OKLCHoklch(46.51% 0.11 145.3)
XYZxyz(6.5395, 10.8082, 4.5373)
Luminance0.1081 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6930 #692A63
analogous
#44692A #2A6930 #2A6950
triadic
#2A6930 #302A69 #69302A
tetradic
#2A6930 #2A4469 #692A63 #69502A
square
#2A6930 #2A4469 #692A63 #69502A
split-complementary
#2A6930 #502A69 #692A44
monochromatic
#09160A #193D1C #2A6930 #3B9544 #53BA5D

Accessibility & contrast

On white

6.64
#2A6930 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2A6930 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6930
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6930#FFFFFF#000000##FFFFFF
##2A69301.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B602B
Deuteranopia (green-blind)
#625A34
Tritanopia (blue-blind)
#1E665C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a6930;
/* rgb */ color: rgb(42, 105, 48);
/* oklch */ color: oklch(46.5% 0.110 145.3);
Tailwind
colors: {
  custom: {
    50: '#6a946a',
    500: '#2a6930',
    950: '#000000',
  },
}
SCSS
$custom: #2a6930;
$custom-light: #6a946a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6930",
  "rgb": {
    "r": 42,
    "g": 105,
    "b": 48
  },
  "hsl": {
    "h": 125.714,
    "s": 42.857,
    "l": 28.824
  },
  "oklch": {
    "l": 0.46509,
    "c": 0.10974,
    "h": 145.3
  },
  "luminance": 0.10809
}

Semantic roles & 50–950 ramp

primary
#2A6930
secondary
#9B5494
accent
#55C7D3
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #2A6930

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

Preview Lab → · Contrast checker → · Palette generator →

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