#2B5923#2B5923

#2B5923 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.8% C 0.098 H 140.8°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#2B5923
RGBrgb(43, 89, 35)
HSLhsl(111, 44%, 24%)
HSVhsv(111, 61%, 35%)
CMYKcmyk(51.7%, 0%, 60.7%, 65.1%)
CIE-LABlab(33.52, -27.71, 26.10)
CIE-LCHlch(33.52, 38.07, 136.71°)
OKLaboklab(41.75% -0.0758 0.0618)
OKLCHoklch(41.75% 0.098 140.8)
XYZxyz(4.8718, 7.7794, 2.8346)
Luminance0.0778 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5923 #512359
analogous
#465923 #2B5923 #235936
triadic
#2B5923 #232B59 #59232B
tetradic
#2B5923 #234659 #512359 #593623
square
#2B5923 #234659 #512359 #593623
split-complementary
#2B5923 #362359 #592346
monochromatic
#0B1609 #162D12 #2B5923 #408534 #55B146

Accessibility & contrast

On white

8.22
#2B5923 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2B5923 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5923
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5923#FFFFFF#000000##FFFFFF
##2B59231.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B511E
Deuteranopia (green-blind)
#554D27
Tritanopia (blue-blind)
#26564D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b5923;
/* rgb */ color: rgb(43, 89, 35);
/* oklch */ color: oklch(41.8% 0.098 140.8);
Tailwind
colors: {
  custom: {
    50: '#698860',
    500: '#2b5923',
    950: '#000000',
  },
}
SCSS
$custom: #2b5923;
$custom-light: #698860;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5923",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 35
  },
  "hsl": {
    "h": 111.111,
    "s": 43.548,
    "l": 24.314
  },
  "oklch": {
    "l": 0.41753,
    "c": 0.09781,
    "h": 140.8
  },
  "luminance": 0.0778
}

Semantic roles & 50–950 ramp

primary
#2B5923
secondary
#834B8D
accent
#55D3C1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B05
muted
#7A7C79

Preview Lab

Preview with #2B5923

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

Preview Lab → · Contrast checker → · Palette generator →

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