#2C701B#2C701B

#2C701B is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.3% C 0.136 H 140.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#2C701B
RGBrgb(44, 112, 27)
HSLhsl(108, 61%, 27%)
HSVhsv(108, 76%, 44%)
CMYKcmyk(60.7%, 0%, 75.9%, 56.1%)
CIE-LABlab(41.54, -38.11, 38.65)
CIE-LCHlch(41.54, 54.28, 134.60°)
OKLaboklab(48.34% -0.1046 0.0875)
OKLCHoklch(48.34% 0.136 140.1)
XYZxyz(7.0304, 12.2023, 3.0215)
Luminance0.1220 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C701B #5F1B70
analogous
#57701B #2C701B #1B7035
triadic
#2C701B #1B2C70 #701B2C
tetradic
#2C701B #1B5770 #5F1B70 #70351B
square
#2C701B #1B5770 #5F1B70 #70351B
split-complementary
#2C701B #351B70 #701B57
monochromatic
#0A1906 #193F0F #2C701B #3FA127 #55CF37

Accessibility & contrast

On white

6.10
#2C701B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2C701B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C701B
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C701B#FFFFFF#000000##FFFFFF
##2C701B1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73650C
Deuteranopia (green-blind)
#6B6024
Tritanopia (blue-blind)
#246C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2c701b;
/* rgb */ color: rgb(44, 112, 27);
/* oklch */ color: oklch(48.3% 0.136 140.1);
Tailwind
colors: {
  custom: {
    50: '#6e9a5d',
    500: '#2c701b',
    950: '#000000',
  },
}
SCSS
$custom: #2c701b;
$custom-light: #6e9a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c701b",
  "rgb": {
    "r": 44,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 108,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48338,
    "c": 0.13632,
    "h": 140.1
  },
  "luminance": 0.12203
}

Semantic roles & 50–950 ramp

primary
#2C701B
secondary
#9142A5
accent
#44E4C4
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2C701B

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

Preview Lab → · Contrast checker → · Palette generator →

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