#2B702E#2B702E

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

Color values

HEX#2B702E
RGBrgb(43, 112, 46)
HSLhsl(123, 45%, 30%)
HSVhsv(123, 62%, 44%)
CMYKcmyk(61.6%, 0%, 58.9%, 56.1%)
CIE-LABlab(41.69, -36.28, 29.93)
CIE-LCHlch(41.69, 47.03, 140.47°)
OKLaboklab(48.51% -0.0984 0.0711)
OKLCHoklch(48.51% 0.121 144.1)
XYZxyz(7.2832, 12.2985, 4.5743)
Luminance0.1230 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B702E #702B6D
analogous
#4A702B #2B702E #2B7050
triadic
#2B702E #2E2B70 #702E2B
tetradic
#2B702E #2B4A70 #702B6D #70502B
square
#2B702E #2B4A70 #702B6D #70502B
split-complementary
#2B702E #502B70 #702B4A
monochromatic
#09180A #1A441C #2B702E #3C9C40 #57BE5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B702E#FFFFFF#000000##FFFFFF
##2B702E1.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)
#726628
Deuteranopia (green-blind)
#696033
Tritanopia (blue-blind)
#1E6D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2b702e;
/* rgb */ color: rgb(43, 112, 46);
/* oklch */ color: oklch(48.5% 0.121 144.1);
Tailwind
colors: {
  custom: {
    50: '#6c9a69',
    500: '#2b702e',
    950: '#000000',
  },
}
SCSS
$custom: #2b702e;
$custom-light: #6c9a69;
$custom-dark: #000000;
JSON
{
  "hex": "#2b702e",
  "rgb": {
    "r": 43,
    "g": 112,
    "b": 46
  },
  "hsl": {
    "h": 122.609,
    "s": 44.516,
    "l": 30.392
  },
  "oklch": {
    "l": 0.48512,
    "c": 0.12145,
    "h": 144.1
  },
  "luminance": 0.12299
}

Semantic roles & 50–950 ramp

primary
#2B702E
secondary
#A2559F
accent
#54CFD4
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2B702E

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

Preview Lab → · Contrast checker → · Palette generator →

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