#2D731C#2D731C

#2D731C is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.139 H 140.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#2D731C
RGBrgb(45, 115, 28)
HSLhsl(108, 61%, 28%)
HSVhsv(108, 76%, 45%)
CMYKcmyk(60.9%, 0%, 75.7%, 54.9%)
CIE-LABlab(42.62, -38.94, 39.36)
CIE-LCHlch(42.62, 55.37, 134.70°)
OKLaboklab(49.24% -0.1068 0.0891)
OKLCHoklch(49.24% 0.139 140.2)
XYZxyz(7.4222, 12.9025, 3.1977)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D731C #621C73
analogous
#58731C #2D731C #1C7336
triadic
#2D731C #1C2D73 #731C2D
tetradic
#2D731C #1C5873 #621C73 #73361C
square
#2D731C #1C5873 #621C73 #73361C
split-complementary
#2D731C #361C73 #731C58
monochromatic
#0A1906 #1A4210 #2D731C #40A428 #57CF3A

Accessibility & contrast

On white

5.86
#2D731C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2D731C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D731C
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D731C#FFFFFF#000000##FFFFFF
##2D731C1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76680D
Deuteranopia (green-blind)
#6E6225
Tritanopia (blue-blind)
#246F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2d731c;
/* rgb */ color: rgb(45, 115, 28);
/* oklch */ color: oklch(49.2% 0.139 140.2);
Tailwind
colors: {
  custom: {
    50: '#6f9c5e',
    500: '#2d731c',
    950: '#000000',
  },
}
SCSS
$custom: #2d731c;
$custom-light: #6f9c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d731c",
  "rgb": {
    "r": 45,
    "g": 115,
    "b": 28
  },
  "hsl": {
    "h": 108.276,
    "s": 60.839,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49242,
    "c": 0.13908,
    "h": 140.2
  },
  "luminance": 0.12903
}

Semantic roles & 50–950 ramp

primary
#2D731C
secondary
#9443A7
accent
#44E4C5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2D731C

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

Preview Lab → · Contrast checker → · Palette generator →

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