#2B6810#2B6810

#2B6810 is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.9% C 0.133 H 138.4°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#2B6810
RGBrgb(43, 104, 16)
HSLhsl(102, 73%, 24%)
HSVhsv(102, 85%, 41%)
CMYKcmyk(58.7%, 0%, 84.6%, 59.2%)
CIE-LABlab(38.64, -35.99, 39.82)
CIE-LCHlch(38.64, 53.68, 132.11°)
OKLaboklab(45.92% -0.0995 0.0882)
OKLCHoklch(45.92% 0.133 138.4)
XYZxyz(6.0399, 10.4511, 2.1891)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6810 #4D1068
analogous
#576810 #2B6810 #106821
triadic
#2B6810 #102B68 #68102B
tetradic
#2B6810 #105768 #4D1068 #682110
square
#2B6810 #105768 #4D1068 #682110
split-complementary
#2B6810 #211068 #681057
monochromatic
#0B1B04 #153308 #2B6810 #419D18 #57D220

Accessibility & contrast

On white

6.80
#2B6810 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2B6810 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6810
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6810#FFFFFF#000000##FFFFFF
##2B68101.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#64591B
Tritanopia (blue-blind)
#256458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2b6810;
/* rgb */ color: rgb(43, 104, 16);
/* oklch */ color: oklch(45.9% 0.133 138.4);
Tailwind
colors: {
  custom: {
    50: '#6c9457',
    500: '#2b6810',
    950: '#000000',
  },
}
SCSS
$custom: #2b6810;
$custom-light: #6c9457;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6810",
  "rgb": {
    "r": 43,
    "g": 104,
    "b": 16
  },
  "hsl": {
    "h": 101.591,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45915,
    "c": 0.13297,
    "h": 138.4
  },
  "luminance": 0.10452
}

Semantic roles & 50–950 ramp

primary
#2B6810
secondary
#7F34A0
accent
#38F0B7
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #2B6810

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

Preview Lab → · Contrast checker → · Palette generator →

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