#2A651C#2A651C

#2A651C is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.1% C 0.122 H 140.1°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#2A651C
RGBrgb(42, 101, 28)
HSLhsl(108, 57%, 25%)
HSVhsv(108, 72%, 40%)
CMYKcmyk(58.4%, 0%, 72.3%, 60.4%)
CIE-LABlab(37.63, -34.12, 34.15)
CIE-LCHlch(37.63, 48.27, 134.97°)
OKLaboklab(45.1% -0.0936 0.0782)
OKLCHoklch(45.1% 0.122 140.1)
XYZxyz(5.8179, 9.8830, 2.6994)
Luminance0.0988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A651C #571C65
analogous
#4E651C #2A651C #1C6532
triadic
#2A651C #1C2A65 #651C2A
tetradic
#2A651C #1C4E65 #571C65 #65321C
square
#2A651C #1C4E65 #571C65 #65321C
split-complementary
#2A651C #321C65 #651C4E
monochromatic
#0A1807 #16350F #2A651C #3E9529 #52C537

Accessibility & contrast

On white

7.06
#2A651C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A651C
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A651C#FFFFFF#000000##FFFFFF
##2A651C1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C12
Deuteranopia (green-blind)
#605723
Tritanopia (blue-blind)
#236256
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a651c;
/* rgb */ color: rgb(42, 101, 28);
/* oklch */ color: oklch(45.1% 0.122 140.1);
Tailwind
colors: {
  custom: {
    50: '#6b915c',
    500: '#2a651c',
    950: '#000000',
  },
}
SCSS
$custom: #2a651c;
$custom-light: #6b915c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a651c",
  "rgb": {
    "r": 42,
    "g": 101,
    "b": 28
  },
  "hsl": {
    "h": 108.493,
    "s": 56.589,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45099,
    "c": 0.12195,
    "h": 140.1
  },
  "luminance": 0.09883
}

Semantic roles & 50–950 ramp

primary
#2A651C
secondary
#89439A
accent
#48E0C3
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2A651C

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

Preview Lab → · Contrast checker → · Palette generator →

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