#2B701F#2B701F

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

Color values

HEX#2B701F
RGBrgb(43, 112, 31)
HSLhsl(111, 57%, 28%)
HSVhsv(111, 72%, 44%)
CMYKcmyk(61.6%, 0%, 72.3%, 56.1%)
CIE-LABlab(41.53, -38.03, 36.96)
CIE-LCHlch(41.53, 53.03, 135.81°)
OKLaboklab(48.34% -0.104 0.0845)
OKLCHoklch(48.34% 0.134 140.9)
XYZxyz(7.0374, 12.2002, 3.2801)
Luminance0.1220 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B701F #641F70
analogous
#53701F #2B701F #1F703B
triadic
#2B701F #1F2B70 #701F2B
tetradic
#2B701F #1F5370 #641F70 #703B1F
square
#2B701F #1F5370 #641F70 #703B1F
split-complementary
#2B701F #3B1F70 #701F53
monochromatic
#091807 #194012 #2B701F #3DA02C #54CA3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B701F#FFFFFF#000000##FFFFFF
##2B701F1.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)
#736613
Deuteranopia (green-blind)
#6A6027
Tritanopia (blue-blind)
#216C60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2b701f;
/* rgb */ color: rgb(43, 112, 31);
/* oklch */ color: oklch(48.3% 0.134 140.9);
Tailwind
colors: {
  custom: {
    50: '#6d9a5f',
    500: '#2b701f',
    950: '#000000',
  },
}
SCSS
$custom: #2b701f;
$custom-light: #6d9a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b701f",
  "rgb": {
    "r": 43,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 111.111,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48335,
    "c": 0.13402,
    "h": 140.9
  },
  "luminance": 0.12201
}

Semantic roles & 50–950 ramp

primary
#2B701F
secondary
#9647A4
accent
#48E0C9
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2B701F

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

Preview Lab → · Contrast checker → · Palette generator →

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