#2A631E#2A631E

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

Color values

HEX#2A631E
RGBrgb(42, 99, 30)
HSLhsl(110, 53%, 25%)
HSVhsv(110, 70%, 39%)
CMYKcmyk(57.6%, 0%, 69.7%, 61.2%)
CIE-LABlab(36.95, -33.07, 32.50)
CIE-LCHlch(36.95, 46.37, 135.50°)
OKLaboklab(44.54% -0.0906 0.075)
OKLCHoklch(44.54% 0.118 140.4)
XYZxyz(5.6508, 9.5092, 2.7657)
Luminance0.0951 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A631E #571E63
analogous
#4C631E #2A631E #1E6334
triadic
#2A631E #1E2A63 #631E2A
tetradic
#2A631E #1E4C63 #571E63 #63341E
square
#2A631E #1E4C63 #571E63 #63341E
split-complementary
#2A631E #341E63 #631E4C
monochromatic
#0A1707 #163410 #2A631E #3E922C #52C13A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A631E#FFFFFF#000000##FFFFFF
##2A631E1.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)
#665A15
Deuteranopia (green-blind)
#5E5524
Tritanopia (blue-blind)
#236055
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2a631e;
/* rgb */ color: rgb(42, 99, 30);
/* oklch */ color: oklch(44.5% 0.118 140.4);
Tailwind
colors: {
  custom: {
    50: '#6a905d',
    500: '#2a631e',
    950: '#000000',
  },
}
SCSS
$custom: #2a631e;
$custom-light: #6a905d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a631e",
  "rgb": {
    "r": 42,
    "g": 99,
    "b": 30
  },
  "hsl": {
    "h": 109.565,
    "s": 53.488,
    "l": 25.294
  },
  "oklch": {
    "l": 0.4454,
    "c": 0.1176,
    "h": 140.4
  },
  "luminance": 0.0951
}

Semantic roles & 50–950 ramp

primary
#2A631E
secondary
#894598
accent
#4BDDC3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2A631E

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

Preview Lab → · Contrast checker → · Palette generator →

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