#2A631C#2A631C

#2A631C is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.5% C 0.119 H 140.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#2A631C
RGBrgb(42, 99, 28)
HSLhsl(108, 56%, 25%)
HSVhsv(108, 72%, 39%)
CMYKcmyk(57.6%, 0%, 71.7%, 61.2%)
CIE-LABlab(36.93, -33.28, 33.40)
CIE-LCHlch(36.93, 47.15, 134.89°)
OKLaboklab(44.52% -0.0913 0.0766)
OKLCHoklch(44.52% 0.119 140)
XYZxyz(5.6260, 9.4993, 2.6355)
Luminance0.0950 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A631C #551C63
analogous
#4E631C #2A631C #1C6331
triadic
#2A631C #1C2A63 #631C2A
tetradic
#2A631C #1C4E63 #551C63 #63311C
square
#2A631C #1C4E63 #551C63 #63311C
split-complementary
#2A631C #311C63 #631C4E
monochromatic
#0A1807 #16330F #2A631C #3E9329 #52C237

Accessibility & contrast

On white

7.24
#2A631C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2A631C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A631C
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A631C#FFFFFF#000000##FFFFFF
##2A631C1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A12
Deuteranopia (green-blind)
#5F5522
Tritanopia (blue-blind)
#246055
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2a631c;
/* rgb */ color: rgb(42, 99, 28);
/* oklch */ color: oklch(44.5% 0.119 140.0);
Tailwind
colors: {
  custom: {
    50: '#6a905c',
    500: '#2a631c',
    950: '#000000',
  },
}
SCSS
$custom: #2a631c;
$custom-light: #6a905c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a631c",
  "rgb": {
    "r": 42,
    "g": 99,
    "b": 28
  },
  "hsl": {
    "h": 108.169,
    "s": 55.906,
    "l": 24.902
  },
  "oklch": {
    "l": 0.44519,
    "c": 0.11919,
    "h": 140
  },
  "luminance": 0.095
}

Semantic roles & 50–950 ramp

primary
#2A631C
secondary
#874398
accent
#49DFC2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2A631C

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

Preview Lab → · Contrast checker → · Palette generator →

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