#2B5928#2B5928

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

Color values

HEX#2B5928
RGBrgb(43, 89, 40)
HSLhsl(116, 38%, 25%)
HSVhsv(116, 55%, 35%)
CMYKcmyk(51.7%, 0%, 55.1%, 65.1%)
CIE-LABlab(33.59, -27.00, 23.43)
CIE-LCHlch(33.59, 35.75, 139.05°)
OKLaboklab(41.83% -0.0736 0.0564)
OKLCHoklch(41.83% 0.093 142.5)
XYZxyz(4.9514, 7.8112, 3.2539)
Luminance0.0781 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5928 #562859
analogous
#435928 #2B5928 #28593E
triadic
#2B5928 #282B59 #59282B
tetradic
#2B5928 #284359 #562859 #593E28
square
#2B5928 #284359 #562859 #593E28
split-complementary
#2B5928 #3E2859 #592843
monochromatic
#0A1509 #172F15 #2B5928 #3F833B #54AD4E

Accessibility & contrast

On white

8.20
#2B5928 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B5928
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5928#FFFFFF#000000##FFFFFF
##2B59281.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5224
Deuteranopia (green-blind)
#554D2B
Tritanopia (blue-blind)
#25574E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b5928;
/* rgb */ color: rgb(43, 89, 40);
/* oklch */ color: oklch(41.8% 0.093 142.5);
Tailwind
colors: {
  custom: {
    50: '#688863',
    500: '#2b5928',
    950: '#000000',
  },
}
SCSS
$custom: #2b5928;
$custom-light: #688863;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5928",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 40
  },
  "hsl": {
    "h": 116.327,
    "s": 37.984,
    "l": 25.294
  },
  "oklch": {
    "l": 0.4183,
    "c": 0.09267,
    "h": 142.5
  },
  "luminance": 0.07812
}

Semantic roles & 50–950 ramp

primary
#2B5928
secondary
#88518C
accent
#5ACEC7
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#060B05
muted
#7A7C79

Preview Lab

Preview with #2B5928

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

Preview Lab → · Contrast checker → · Palette generator →

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