#2B681F#2B681F

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

Color values

HEX#2B681F
RGBrgb(43, 104, 31)
HSLhsl(110, 54%, 26%)
HSVhsv(110, 70%, 41%)
CMYKcmyk(58.7%, 0%, 70.2%, 59.2%)
CIE-LABlab(38.75, -34.77, 33.99)
CIE-LCHlch(38.75, 48.63, 135.65°)
OKLaboklab(46.04% -0.0952 0.0783)
OKLCHoklch(46.04% 0.123 140.6)
XYZxyz(6.1936, 10.5126, 2.9988)
Luminance0.1051 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B681F #5C1F68
analogous
#50681F #2B681F #1F6838
triadic
#2B681F #1F2B68 #681F2B
tetradic
#2B681F #1F5068 #5C1F68 #68381F
square
#2B681F #1F5068 #5C1F68 #68381F
split-complementary
#2B681F #381F68 #681F50
monochromatic
#0A1807 #183911 #2B681F #3E972D #53C53C

Accessibility & contrast

On white

6.77
#2B681F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B681F
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B681F#FFFFFF#000000##FFFFFF
##2B681F1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E15
Deuteranopia (green-blind)
#635925
Tritanopia (blue-blind)
#246559
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2b681f;
/* rgb */ color: rgb(43, 104, 31);
/* oklch */ color: oklch(46.0% 0.123 140.6);
Tailwind
colors: {
  custom: {
    50: '#6c945f',
    500: '#2b681f',
    950: '#000000',
  },
}
SCSS
$custom: #2b681f;
$custom-light: #6c945f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b681f",
  "rgb": {
    "r": 43,
    "g": 104,
    "b": 31
  },
  "hsl": {
    "h": 110.137,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.46037,
    "c": 0.12325,
    "h": 140.6
  },
  "luminance": 0.10513
}

Semantic roles & 50–950 ramp

primary
#2B681F
secondary
#8E469C
accent
#4ADDC5
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2B681F

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

Preview Lab → · Contrast checker → · Palette generator →

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