#2C711F#2C711F

#2C711F is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.7% C 0.135 H 140.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#2C711F
RGBrgb(44, 113, 31)
HSLhsl(110, 57%, 28%)
HSVhsv(110, 73%, 44%)
CMYKcmyk(61.1%, 0%, 72.6%, 55.7%)
CIE-LABlab(41.91, -38.16, 37.37)
CIE-LCHlch(41.91, 53.41, 135.59°)
OKLaboklab(48.66% -0.1044 0.0854)
OKLCHoklch(48.66% 0.135 140.7)
XYZxyz(7.1908, 12.4440, 3.3191)
Luminance0.1245 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C711F #641F71
analogous
#55711F #2C711F #1F713B
triadic
#2C711F #1F2C71 #711F2C
tetradic
#2C711F #1F5571 #641F71 #713B1F
square
#2C711F #1F5571 #641F71 #713B1F
split-complementary
#2C711F #3B1F71 #711F55
monochromatic
#091807 #194112 #2C711F #3FA12C #56CB40

Accessibility & contrast

On white

6.02
#2C711F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2C711F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C711F
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C711F#FFFFFF#000000##FFFFFF
##2C711F1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746613
Deuteranopia (green-blind)
#6B6127
Tritanopia (blue-blind)
#236D61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2c711f;
/* rgb */ color: rgb(44, 113, 31);
/* oklch */ color: oklch(48.7% 0.135 140.7);
Tailwind
colors: {
  custom: {
    50: '#6e9a60',
    500: '#2c711f',
    950: '#000000',
  },
}
SCSS
$custom: #2c711f;
$custom-light: #6e9a60;
$custom-dark: #000000;
JSON
{
  "hex": "#2c711f",
  "rgb": {
    "r": 44,
    "g": 113,
    "b": 31
  },
  "hsl": {
    "h": 110.488,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48659,
    "c": 0.13488,
    "h": 140.7
  },
  "luminance": 0.12445
}

Semantic roles & 50–950 ramp

primary
#2C711F
secondary
#9647A5
accent
#48E0C8
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2C711F

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

Preview Lab → · Contrast checker → · Palette generator →

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