#2B702F#2B702F

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

Color values

HEX#2B702F
RGBrgb(43, 112, 47)
HSLhsl(123, 45%, 30%)
HSVhsv(123, 62%, 44%)
CMYKcmyk(61.6%, 0%, 58%, 56.1%)
CIE-LABlab(41.70, -36.14, 29.43)
CIE-LCHlch(41.70, 46.60, 140.84°)
OKLaboklab(48.53% -0.098 0.0701)
OKLCHoklch(48.53% 0.121 144.4)
XYZxyz(7.3031, 12.3065, 4.6793)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B702F #702B6C
analogous
#49702B #2B702F #2B7051
triadic
#2B702F #2F2B70 #702F2B
tetradic
#2B702F #2B4970 #702B6C #70512B
square
#2B702F #2B4970 #702B6C #70512B
split-complementary
#2B702F #512B70 #702B49
monochromatic
#09180A #1A441C #2B702F #3C9C42 #57BE5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B702F#FFFFFF#000000##FFFFFF
##2B702F1.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)
#726629
Deuteranopia (green-blind)
#696034
Tritanopia (blue-blind)
#1E6D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2b702f;
/* rgb */ color: rgb(43, 112, 47);
/* oklch */ color: oklch(48.5% 0.120 144.4);
Tailwind
colors: {
  custom: {
    50: '#6c9a69',
    500: '#2b702f',
    950: '#000000',
  },
}
SCSS
$custom: #2b702f;
$custom-light: #6c9a69;
$custom-dark: #000000;
JSON
{
  "hex": "#2b702f",
  "rgb": {
    "r": 43,
    "g": 112,
    "b": 47
  },
  "hsl": {
    "h": 123.478,
    "s": 44.516,
    "l": 30.392
  },
  "oklch": {
    "l": 0.48526,
    "c": 0.1205,
    "h": 144.4
  },
  "luminance": 0.12307
}

Semantic roles & 50–950 ramp

primary
#2B702F
secondary
#A2559D
accent
#54CDD4
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2B702F

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

Preview Lab → · Contrast checker → · Palette generator →

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