#2B7210#2B7210

#2B7210 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.8% C 0.145 H 139.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#2B7210
RGBrgb(43, 114, 16)
HSLhsl(103, 75%, 25%)
HSVhsv(103, 86%, 45%)
CMYKcmyk(62.3%, 0%, 86%, 55.3%)
CIE-LABlab(42.13, -39.92, 43.04)
CIE-LCHlch(42.13, 58.71, 132.84°)
OKLaboklab(48.8% -0.11 0.095)
OKLCHoklch(48.8% 0.145 139.2)
XYZxyz(7.1068, 12.5850, 2.5447)
Luminance0.1259 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7210 #571072
analogous
#5C7210 #2B7210 #107226
triadic
#2B7210 #102B72 #72102B
tetradic
#2B7210 #105C72 #571072 #722610
square
#2B7210 #105C72 #571072 #722610
split-complementary
#2B7210 #261072 #72105C
monochromatic
#0A1B04 #173C08 #2B7210 #3FA818 #53DD1F

Accessibility & contrast

On white

5.97
#2B7210 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#2B7210 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7210
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7210#FFFFFF#000000##FFFFFF
##2B72101.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6D611D
Tritanopia (blue-blind)
#236E60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b7210;
/* rgb */ color: rgb(43, 114, 16);
/* oklch */ color: oklch(48.8% 0.145 139.2);
Tailwind
colors: {
  custom: {
    50: '#6e9b59',
    500: '#2b7210',
    950: '#000000',
  },
}
SCSS
$custom: #2b7210;
$custom-light: #6e9b59;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7210",
  "rgb": {
    "r": 43,
    "g": 114,
    "b": 16
  },
  "hsl": {
    "h": 103.469,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48799,
    "c": 0.14535,
    "h": 139.2
  },
  "luminance": 0.12586
}

Semantic roles & 50–950 ramp

primary
#2B7210
secondary
#8934A9
accent
#36F2BE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2B7210

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

Preview Lab → · Contrast checker → · Palette generator →

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