#2A731E#2A731E

#2A731E is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.1% C 0.139 H 141.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2A731E
RGBrgb(42, 115, 30)
HSLhsl(112, 59%, 28%)
HSVhsv(112, 74%, 45%)
CMYKcmyk(63.5%, 0%, 73.9%, 54.9%)
CIE-LABlab(42.53, -39.57, 38.42)
CIE-LCHlch(42.53, 55.15, 135.84°)
OKLaboklab(49.15% -0.1082 0.0874)
OKLCHoklch(49.15% 0.139 141.1)
XYZxyz(7.3196, 12.8468, 3.3220)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A731E #671E73
analogous
#54731E #2A731E #1E733C
triadic
#2A731E #1E2A73 #731E2A
tetradic
#2A731E #1E5473 #671E73 #733C1E
square
#2A731E #1E5473 #671E73 #733C1E
split-complementary
#2A731E #3C1E73 #731E54
monochromatic
#091806 #184211 #2A731E #3CA42B #53CD3F

Accessibility & contrast

On white

5.88
#2A731E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2A731E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A731E
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A731E#FFFFFF#000000##FFFFFF
##2A731E1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766810
Deuteranopia (green-blind)
#6D6226
Tritanopia (blue-blind)
#1F6F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a731e;
/* rgb */ color: rgb(42, 115, 30);
/* oklch */ color: oklch(49.1% 0.139 141.1);
Tailwind
colors: {
  custom: {
    50: '#6d9c5f',
    500: '#2a731e',
    950: '#000000',
  },
}
SCSS
$custom: #2a731e;
$custom-light: #6d9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a731e",
  "rgb": {
    "r": 42,
    "g": 115,
    "b": 30
  },
  "hsl": {
    "h": 111.529,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49148,
    "c": 0.13909,
    "h": 141.1
  },
  "luminance": 0.12847
}

Semantic roles & 50–950 ramp

primary
#2A731E
secondary
#9946A7
accent
#46E2CC
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2A731E

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

Preview Lab → · Contrast checker → · Palette generator →

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