#2A651F#2A651F

#2A651F is a mid, moderate green. Relative luminance 0.099; OKLCH L 45.1% C 0.120 H 140.7°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#2A651F
RGBrgb(42, 101, 31)
HSLhsl(111, 53%, 26%)
HSVhsv(111, 69%, 40%)
CMYKcmyk(58.4%, 0%, 69.3%, 60.4%)
CIE-LABlab(37.66, -33.81, 32.80)
CIE-LCHlch(37.66, 47.11, 135.87°)
OKLaboklab(45.13% -0.0925 0.0758)
OKLCHoklch(45.13% 0.12 140.7)
XYZxyz(5.8556, 9.8980, 2.8980)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A651F #5A1F65
analogous
#4D651F #2A651F #1F6537
triadic
#2A651F #1F2A65 #651F2A
tetradic
#2A651F #1F4D65 #5A1F65 #65371F
square
#2A651F #1F4D65 #5A1F65 #65371F
split-complementary
#2A651F #371F65 #651F4D
monochromatic
#0A1707 #173611 #2A651F #3D942D #51C33C

Accessibility & contrast

On white

7.05
#2A651F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2A651F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A651F
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A651F#FFFFFF#000000##FFFFFF
##2A651F1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C16
Deuteranopia (green-blind)
#605725
Tritanopia (blue-blind)
#236257
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a651f;
/* rgb */ color: rgb(42, 101, 31);
/* oklch */ color: oklch(45.1% 0.120 140.7);
Tailwind
colors: {
  custom: {
    50: '#6a915e',
    500: '#2a651f',
    950: '#000000',
  },
}
SCSS
$custom: #2a651f;
$custom-light: #6a915e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a651f",
  "rgb": {
    "r": 42,
    "g": 101,
    "b": 31
  },
  "hsl": {
    "h": 110.571,
    "s": 53.03,
    "l": 25.882
  },
  "oklch": {
    "l": 0.4513,
    "c": 0.11959,
    "h": 140.7
  },
  "luminance": 0.09899
}

Semantic roles & 50–950 ramp

primary
#2A651F
secondary
#8C4699
accent
#4BDCC6
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2A651F

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

Preview Lab → · Contrast checker → · Palette generator →

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