#2A6928#2A6928

#2A6928 is a mid, moderate green. Relative luminance 0.107; OKLCH L 46.4% C 0.117 H 142.9°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#2A6928
RGBrgb(42, 105, 40)
HSLhsl(118, 45%, 28%)
HSVhsv(118, 62%, 41%)
CMYKcmyk(60%, 0%, 61.9%, 58.8%)
CIE-LABlab(39.15, -34.43, 30.05)
CIE-LCHlch(39.15, 45.70, 138.88°)
OKLaboklab(46.39% -0.0937 0.0709)
OKLCHoklch(46.39% 0.117 142.9)
XYZxyz(6.3891, 10.7480, 3.7450)
Luminance0.1075 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6928 #672869
analogous
#4A6928 #2A6928 #286946
triadic
#2A6928 #282A69 #69282A
tetradic
#2A6928 #284A69 #672869 #694628
square
#2A6928 #284A69 #672869 #694628
split-complementary
#2A6928 #462869 #69284A
monochromatic
#091608 #183D17 #2A6928 #3C9539 #53BC4F

Accessibility & contrast

On white

6.67
#2A6928 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2A6928 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6928
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6928#FFFFFF#000000##FFFFFF
##2A69281.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6021
Deuteranopia (green-blind)
#635A2D
Tritanopia (blue-blind)
#20665B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a6928;
/* rgb */ color: rgb(42, 105, 40);
/* oklch */ color: oklch(46.4% 0.117 142.9);
Tailwind
colors: {
  custom: {
    50: '#6b9464',
    500: '#2a6928',
    950: '#000000',
  },
}
SCSS
$custom: #2a6928;
$custom-light: #6b9464;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6928",
  "rgb": {
    "r": 42,
    "g": 105,
    "b": 40
  },
  "hsl": {
    "h": 118.154,
    "s": 44.828,
    "l": 28.431
  },
  "oklch": {
    "l": 0.46391,
    "c": 0.11745,
    "h": 142.9
  },
  "luminance": 0.10749
}

Semantic roles & 50–950 ramp

primary
#2A6928
secondary
#99519C
accent
#53D5D1
background
#F6F9F6
surface
#ECF1EB
border
#C7CBC6
text
#070D05
muted
#7A7E7A

Preview Lab

Preview with #2A6928

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

Preview Lab → · Contrast checker → · Palette generator →

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