#2B7718#2B7718

#2B7718 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.3% C 0.147 H 140.2°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#2B7718
RGBrgb(43, 119, 24)
HSLhsl(108, 66%, 28%)
HSVhsv(108, 80%, 47%)
CMYKcmyk(63.9%, 0%, 79.8%, 53.3%)
CIE-LABlab(43.90, -41.32, 42.13)
CIE-LCHlch(43.90, 59.01, 134.45°)
OKLaboklab(50.28% -0.1133 0.0943)
OKLCHoklch(50.28% 0.147 140.2)
XYZxyz(7.7576, 13.7725, 3.1135)
Luminance0.1377 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7718 #641877
analogous
#5A7718 #2B7718 #187734
triadic
#2B7718 #182B77 #77182B
tetradic
#2B7718 #185A77 #641877 #773418
square
#2B7718 #185A77 #641877 #773418
split-complementary
#2B7718 #341877 #77185A
monochromatic
#091905 #19440E #2B7718 #3DAA22 #54D633

Accessibility & contrast

On white

5.59
#2B7718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#2B7718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7718
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7718#FFFFFF#000000##FFFFFF
##2B77181.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C02
Deuteranopia (green-blind)
#716523
Tritanopia (blue-blind)
#207365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2b7718;
/* rgb */ color: rgb(43, 119, 24);
/* oklch */ color: oklch(50.3% 0.147 140.2);
Tailwind
colors: {
  custom: {
    50: '#6f9f5d',
    500: '#2b7718',
    950: '#000000',
  },
}
SCSS
$custom: #2b7718;
$custom-light: #6f9f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7718",
  "rgb": {
    "r": 43,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 108,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.5028,
    "c": 0.14743,
    "h": 140.2
  },
  "luminance": 0.13773
}

Semantic roles & 50–950 ramp

primary
#2B7718
secondary
#963FAC
accent
#3EE9C7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2B7718

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

Preview Lab → · Contrast checker → · Palette generator →

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