#2B681B#2B681B

#2B681B is a mid, vivid green. Relative luminance 0.105; OKLCH L 46.0% C 0.126 H 139.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#2B681B
RGBrgb(43, 104, 27)
HSLhsl(108, 59%, 26%)
HSVhsv(108, 74%, 41%)
CMYKcmyk(58.7%, 0%, 74%, 59.2%)
CIE-LABlab(38.71, -35.16, 35.74)
CIE-LCHlch(38.71, 50.14, 134.54°)
OKLaboklab(46% -0.0965 0.0814)
OKLCHoklch(46% 0.126 139.9)
XYZxyz(6.1441, 10.4928, 2.7382)
Luminance0.1049 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B681B #581B68
analogous
#51681B #2B681B #1B6831
triadic
#2B681B #1B2B68 #681B2B
tetradic
#2B681B #1B5168 #581B68 #68311B
square
#2B681B #1B5168 #581B68 #68311B
split-complementary
#2B681B #311B68 #681B51
monochromatic
#0A1806 #17370E #2B681B #3F9928 #53C934

Accessibility & contrast

On white

6.78
#2B681B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2B681B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B681B
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B681B#FFFFFF#000000##FFFFFF
##2B681B1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E0F
Deuteranopia (green-blind)
#635922
Tritanopia (blue-blind)
#246459
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2b681b;
/* rgb */ color: rgb(43, 104, 27);
/* oklch */ color: oklch(46.0% 0.126 139.9);
Tailwind
colors: {
  custom: {
    50: '#6c945c',
    500: '#2b681b',
    950: '#000000',
  },
}
SCSS
$custom: #2b681b;
$custom-light: #6c945c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b681b",
  "rgb": {
    "r": 43,
    "g": 104,
    "b": 27
  },
  "hsl": {
    "h": 107.532,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.45998,
    "c": 0.12626,
    "h": 139.9
  },
  "luminance": 0.10493
}

Semantic roles & 50–950 ramp

primary
#2B681B
secondary
#8A429D
accent
#46E2C2
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2B681B

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

Preview Lab → · Contrast checker → · Palette generator →

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