#2A651B#2A651B

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

Color values

HEX#2A651B
RGBrgb(42, 101, 27)
HSLhsl(108, 58%, 25%)
HSVhsv(108, 73%, 40%)
CMYKcmyk(58.4%, 0%, 73.3%, 60.4%)
CIE-LABlab(37.62, -34.22, 34.59)
CIE-LCHlch(37.62, 48.65, 134.69°)
OKLaboklab(45.09% -0.0939 0.079)
OKLCHoklch(45.09% 0.123 139.9)
XYZxyz(5.8061, 9.8783, 2.6374)
Luminance0.0988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A651B #561B65
analogous
#4F651B #2A651B #1B6531
triadic
#2A651B #1B2A65 #651B2A
tetradic
#2A651B #1B4F65 #561B65 #65311B
square
#2A651B #1B4F65 #561B65 #65311B
split-complementary
#2A651B #311B65 #651B4F
monochromatic
#0A1806 #16350E #2A651B #3E9528 #52C635

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A651B#FFFFFF#000000##FFFFFF
##2A651B1.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)
#685C10
Deuteranopia (green-blind)
#605722
Tritanopia (blue-blind)
#236256
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a651b;
/* rgb */ color: rgb(42, 101, 27);
/* oklch */ color: oklch(45.1% 0.123 139.9);
Tailwind
colors: {
  custom: {
    50: '#6b915c',
    500: '#2a651b',
    950: '#000000',
  },
}
SCSS
$custom: #2a651b;
$custom-light: #6b915c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a651b",
  "rgb": {
    "r": 42,
    "g": 101,
    "b": 27
  },
  "hsl": {
    "h": 107.838,
    "s": 57.813,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45089,
    "c": 0.1227,
    "h": 139.9
  },
  "luminance": 0.09879
}

Semantic roles & 50–950 ramp

primary
#2A651B
secondary
#88419A
accent
#47E1C2
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2A651B

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

Preview Lab → · Contrast checker → · Palette generator →

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