#2A6925#2A6925

#2A6925 is a mid, vivid green. Relative luminance 0.107; OKLCH L 46.4% C 0.120 H 142.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#2A6925
RGBrgb(42, 105, 37)
HSLhsl(116, 48%, 28%)
HSVhsv(116, 65%, 41%)
CMYKcmyk(60%, 0%, 64.8%, 58.8%)
CIE-LABlab(39.12, -34.81, 31.52)
CIE-LCHlch(39.12, 46.96, 137.83°)
OKLaboklab(46.35% -0.0948 0.0737)
OKLCHoklch(46.35% 0.12 142.1)
XYZxyz(6.3400, 10.7284, 3.4866)
Luminance0.1073 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6925 #642569
analogous
#4C6925 #2A6925 #256942
triadic
#2A6925 #252A69 #69252A
tetradic
#2A6925 #254C69 #642569 #694225
square
#2A6925 #254C69 #642569 #694225
split-complementary
#2A6925 #422569 #69254C
monochromatic
#091708 #183C15 #2A6925 #3C9635 #52BF49

Accessibility & contrast

On white

6.68
#2A6925 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A6925
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6925#FFFFFF#000000##FFFFFF
##2A69251.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F1D
Deuteranopia (green-blind)
#635A2B
Tritanopia (blue-blind)
#21665A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a6925;
/* rgb */ color: rgb(42, 105, 37);
/* oklch */ color: oklch(46.4% 0.120 142.1);
Tailwind
colors: {
  custom: {
    50: '#6b9462',
    500: '#2a6925',
    950: '#000000',
  },
}
SCSS
$custom: #2a6925;
$custom-light: #6b9462;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6925",
  "rgb": {
    "r": 42,
    "g": 105,
    "b": 37
  },
  "hsl": {
    "h": 115.588,
    "s": 47.887,
    "l": 27.843
  },
  "oklch": {
    "l": 0.46353,
    "c": 0.12014,
    "h": 142.1
  },
  "luminance": 0.10729
}

Semantic roles & 50–950 ramp

primary
#2A6925
secondary
#964E9C
accent
#50D7CE
background
#F6F9F5
surface
#ECF1EA
border
#C7CBC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2A6925

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

Preview Lab → · Contrast checker → · Palette generator →

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