#2C711B#2C711B

#2C711B is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.6% C 0.138 H 140.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#2C711B
RGBrgb(44, 113, 27)
HSLhsl(108, 61%, 27%)
HSVhsv(108, 76%, 44%)
CMYKcmyk(61.1%, 0%, 76.1%, 55.7%)
CIE-LABlab(41.88, -38.51, 39.00)
CIE-LCHlch(41.88, 54.81, 134.64°)
OKLaboklab(48.62% -0.1056 0.0882)
OKLCHoklch(48.62% 0.138 140.1)
XYZxyz(7.1413, 12.4242, 3.0585)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C711B #601B71
analogous
#57711B #2C711B #1B7135
triadic
#2C711B #1B2C71 #711B2C
tetradic
#2C711B #1B5771 #601B71 #71351B
square
#2C711B #1B5771 #601B71 #71351B
split-complementary
#2C711B #351B71 #711B57
monochromatic
#0A1906 #19400F #2C711B #3FA227 #55CF37

Accessibility & contrast

On white

6.03
#2C711B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C711B
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C711B#FFFFFF#000000##FFFFFF
##2C711B1.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74660B
Deuteranopia (green-blind)
#6C6124
Tritanopia (blue-blind)
#236D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2c711b;
/* rgb */ color: rgb(44, 113, 27);
/* oklch */ color: oklch(48.6% 0.138 140.1);
Tailwind
colors: {
  custom: {
    50: '#6e9a5d',
    500: '#2c711b',
    950: '#000000',
  },
}
SCSS
$custom: #2c711b;
$custom-light: #6e9a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c711b",
  "rgb": {
    "r": 44,
    "g": 113,
    "b": 27
  },
  "hsl": {
    "h": 108.14,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48624,
    "c": 0.13762,
    "h": 140.1
  },
  "luminance": 0.12425
}

Semantic roles & 50–950 ramp

primary
#2C711B
secondary
#9242A6
accent
#43E5C5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C711B

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

Preview Lab → · Contrast checker → · Palette generator →

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