#2B702C#2B702C

#2B702C is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.5% C 0.123 H 143.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#2B702C
RGBrgb(43, 112, 44)
HSLhsl(121, 45%, 30%)
HSVhsv(121, 62%, 44%)
CMYKcmyk(61.6%, 0%, 60.7%, 56.1%)
CIE-LABlab(41.66, -36.55, 30.93)
CIE-LCHlch(41.66, 47.88, 139.76°)
OKLaboklab(48.48% -0.0993 0.0731)
OKLCHoklch(48.48% 0.123 143.6)
XYZxyz(7.2446, 12.2831, 4.3715)
Luminance0.1228 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B702C #702B6F
analogous
#4C702B #2B702C #2B704F
triadic
#2B702C #2C2B70 #702C2B
tetradic
#2B702C #2B4C70 #702B6F #704F2B
square
#2B702C #2B4C70 #702B6F #704F2B
split-complementary
#2B702C #4F2B70 #702B4C
monochromatic
#091809 #1A441B #2B702C #3C9C3D #57BE58

Accessibility & contrast

On white

6.07
#2B702C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#2B702C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B702C
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B702C#FFFFFF#000000##FFFFFF
##2B702C1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726625
Deuteranopia (green-blind)
#696031
Tritanopia (blue-blind)
#1F6D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2b702c;
/* rgb */ color: rgb(43, 112, 44);
/* oklch */ color: oklch(48.5% 0.123 143.6);
Tailwind
colors: {
  custom: {
    50: '#6c9a67',
    500: '#2b702c',
    950: '#000000',
  },
}
SCSS
$custom: #2b702c;
$custom-light: #6c9a67;
$custom-dark: #000000;
JSON
{
  "hex": "#2b702c",
  "rgb": {
    "r": 43,
    "g": 112,
    "b": 44
  },
  "hsl": {
    "h": 120.87,
    "s": 44.516,
    "l": 30.392
  },
  "oklch": {
    "l": 0.48484,
    "c": 0.1233,
    "h": 143.6
  },
  "luminance": 0.12284
}

Semantic roles & 50–950 ramp

primary
#2B702C
secondary
#A255A1
accent
#54D2D4
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2B702C

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

Preview Lab → · Contrast checker → · Palette generator →

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