#2B6823#2B6823

#2B6823 is a mid, moderate green. Relative luminance 0.105; OKLCH L 46.1% C 0.120 H 141.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#2B6823
RGBrgb(43, 104, 35)
HSLhsl(113, 50%, 27%)
HSVhsv(113, 66%, 41%)
CMYKcmyk(58.7%, 0%, 66.3%, 59.2%)
CIE-LABlab(38.79, -34.34, 32.14)
CIE-LCHlch(38.79, 47.03, 136.89°)
OKLaboklab(46.08% -0.0938 0.0748)
OKLCHoklch(46.08% 0.12 141.4)
XYZxyz(6.2496, 10.5350, 3.2939)
Luminance0.1054 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6823 #602368
analogous
#4E6823 #2B6823 #23683D
triadic
#2B6823 #232B68 #68232B
tetradic
#2B6823 #234E68 #602368 #683D23
square
#2B6823 #234E68 #602368 #683D23
split-complementary
#2B6823 #3D2368 #68234E
monochromatic
#091708 #183A14 #2B6823 #3E9632 #53C045

Accessibility & contrast

On white

6.76
#2B6823 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2B6823 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6823
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6823#FFFFFF#000000##FFFFFF
##2B68231.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F1B
Deuteranopia (green-blind)
#635929
Tritanopia (blue-blind)
#236559
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2b6823;
/* rgb */ color: rgb(43, 104, 35);
/* oklch */ color: oklch(46.1% 0.120 141.4);
Tailwind
colors: {
  custom: {
    50: '#6b9461',
    500: '#2b6823',
    950: '#000000',
  },
}
SCSS
$custom: #2b6823;
$custom-light: #6b9461;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6823",
  "rgb": {
    "r": 43,
    "g": 104,
    "b": 35
  },
  "hsl": {
    "h": 113.043,
    "s": 49.64,
    "l": 27.255
  },
  "oklch": {
    "l": 0.46082,
    "c": 0.11996,
    "h": 141.4
  },
  "luminance": 0.10536
}

Semantic roles & 50–950 ramp

primary
#2B6823
secondary
#924B9B
accent
#4FD9C9
background
#F6F9F5
surface
#ECF1EA
border
#C7CBC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2B6823

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

Preview Lab → · Contrast checker → · Palette generator →

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