#2B6633#2B6633

#2B6633 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.7% C 0.102 H 146.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2B6633
RGBrgb(43, 102, 51)
HSLhsl(128, 41%, 28%)
HSVhsv(128, 58%, 40%)
CMYKcmyk(57.8%, 0%, 50%, 60%)
CIE-LABlab(38.30, -31.21, 23.08)
CIE-LCHlch(38.30, 38.81, 143.51°)
OKLaboklab(45.75% -0.0846 0.0562)
OKLCHoklch(45.75% 0.102 146.4)
XYZxyz(6.3448, 10.2548, 4.7763)
Luminance0.1026 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6633 #662B5E
analogous
#40662B #2B6633 #2B6650
triadic
#2B6633 #332B66 #66332B
tetradic
#2B6633 #2B4066 #662B5E #66502B
square
#2B6633 #2B4066 #662B5E #66502B
split-complementary
#2B6633 #502B66 #662B40
monochromatic
#09160B #193B1D #2B6633 #3D9149 #54B762

Accessibility & contrast

On white

6.88
#2B6633 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2B6633 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6633
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6633#FFFFFF#000000##FFFFFF
##2B66331.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675D2F
Deuteranopia (green-blind)
#5F5836
Tritanopia (blue-blind)
#20645A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b6633;
/* rgb */ color: rgb(43, 102, 51);
/* oklch */ color: oklch(45.7% 0.102 146.4);
Tailwind
colors: {
  custom: {
    50: '#6a926b',
    500: '#2b6633',
    950: '#000000',
  },
}
SCSS
$custom: #2b6633;
$custom-light: #6a926b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6633",
  "rgb": {
    "r": 43,
    "g": 102,
    "b": 51
  },
  "hsl": {
    "h": 128.136,
    "s": 40.69,
    "l": 28.431
  },
  "oklch": {
    "l": 0.45745,
    "c": 0.10156,
    "h": 146.4
  },
  "luminance": 0.10255
}

Semantic roles & 50–950 ramp

primary
#2B6633
secondary
#98558F
accent
#57C0D1
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#070D07
muted
#7A7E7A

Preview Lab

Preview with #2B6633

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

Preview Lab → · Contrast checker → · Palette generator →

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