#2B6530#2B6530

#2B6530 is a mid, moderate green. Relative luminance 0.100; OKLCH L 45.4% C 0.103 H 145.3°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#2B6530
RGBrgb(43, 101, 48)
HSLhsl(125, 40%, 28%)
HSVhsv(125, 57%, 40%)
CMYKcmyk(57.4%, 0%, 52.5%, 60.4%)
CIE-LABlab(37.90, -31.25, 24.27)
CIE-LCHlch(37.90, 39.57, 142.17°)
OKLaboklab(45.41% -0.0848 0.0588)
OKLCHoklch(45.41% 0.103 145.3)
XYZxyz(6.1831, 10.0338, 4.4066)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6530 #652B60
analogous
#43652B #2B6530 #2B654D
triadic
#2B6530 #302B65 #65302B
tetradic
#2B6530 #2B4365 #652B60 #654D2B
square
#2B6530 #2B4365 #652B60 #654D2B
split-complementary
#2B6530 #4D2B65 #652B43
monochromatic
#09150A #193A1C #2B6530 #3D9044 #54B65D

Accessibility & contrast

On white

6.98
#2B6530 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2B6530 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6530
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6530#FFFFFF#000000##FFFFFF
##2B65301.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675C2C
Deuteranopia (green-blind)
#5F5734
Tritanopia (blue-blind)
#216359
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2b6530;
/* rgb */ color: rgb(43, 101, 48);
/* oklch */ color: oklch(45.4% 0.103 145.3);
Tailwind
colors: {
  custom: {
    50: '#6a9169',
    500: '#2b6530',
    950: '#000000',
  },
}
SCSS
$custom: #2b6530;
$custom-light: #6a9169;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6530",
  "rgb": {
    "r": 43,
    "g": 101,
    "b": 48
  },
  "hsl": {
    "h": 125.172,
    "s": 40.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.45408,
    "c": 0.10314,
    "h": 145.3
  },
  "luminance": 0.10034
}

Semantic roles & 50–950 ramp

primary
#2B6530
secondary
#975591
accent
#58C6D0
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #2B6530

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

Preview Lab → · Contrast checker → · Palette generator →

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