#2B6523#2B6523

#2B6523 is a mid, moderate green. Relative luminance 0.099; OKLCH L 45.2% C 0.116 H 141.3°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#2B6523
RGBrgb(43, 101, 35)
HSLhsl(113, 49%, 27%)
HSVhsv(113, 65%, 40%)
CMYKcmyk(57.4%, 0%, 65.3%, 60.4%)
CIE-LABlab(37.74, -33.06, 30.96)
CIE-LCHlch(37.74, 45.30, 136.88°)
OKLaboklab(45.22% -0.0903 0.0723)
OKLCHoklch(45.22% 0.116 141.3)
XYZxyz(5.9530, 9.9418, 3.1950)
Luminance0.0994 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6523 #5D2365
analogous
#4C6523 #2B6523 #23653C
triadic
#2B6523 #232B65 #65232B
tetradic
#2B6523 #234C65 #5D2365 #653C23
square
#2B6523 #234C65 #5D2365 #653C23
split-complementary
#2B6523 #3C2365 #65234C
monochromatic
#0A1708 #183813 #2B6523 #3E9233 #53BE44

Accessibility & contrast

On white

7.03
#2B6523 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2B6523 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B6523
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6523#FFFFFF#000000##FFFFFF
##2B65231.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C1C
Deuteranopia (green-blind)
#605728
Tritanopia (blue-blind)
#246257
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2b6523;
/* rgb */ color: rgb(43, 101, 35);
/* oklch */ color: oklch(45.2% 0.116 141.3);
Tailwind
colors: {
  custom: {
    50: '#6b9161',
    500: '#2b6523',
    950: '#000000',
  },
}
SCSS
$custom: #2b6523;
$custom-light: #6b9161;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6523",
  "rgb": {
    "r": 43,
    "g": 101,
    "b": 35
  },
  "hsl": {
    "h": 112.727,
    "s": 48.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.45219,
    "c": 0.11569,
    "h": 141.3
  },
  "luminance": 0.09942
}

Semantic roles & 50–950 ramp

primary
#2B6523
secondary
#8F4B99
accent
#50D8C8
background
#F6F9F5
surface
#EBF1EA
border
#C6CBC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2B6523

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

Preview Lab → · Contrast checker → · Palette generator →

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