#2B5818#2B5818

#2B5818 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.3% C 0.106 H 137.9°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#2B5818
RGBrgb(43, 88, 24)
HSLhsl(102, 57%, 22%)
HSVhsv(102, 73%, 35%)
CMYKcmyk(51.1%, 0%, 72.7%, 65.5%)
CIE-LABlab(33.05, -28.53, 31.12)
CIE-LCHlch(33.05, 42.21, 132.52°)
OKLaboklab(41.33% -0.0788 0.0713)
OKLCHoklch(41.33% 0.106 137.9)
XYZxyz(4.6507, 7.5587, 2.0779)
Luminance0.0756 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5818 #451858
analogous
#4B5818 #2B5818 #185825
triadic
#2B5818 #182B58 #58182B
tetradic
#2B5818 #184B58 #451858 #582518
square
#2B5818 #184B58 #451858 #582518
split-complementary
#2B5818 #251858 #58184B
monochromatic
#0C1807 #14280B #2B5818 #428825 #5AB832

Accessibility & contrast

On white

8.36
#2B5818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2B5818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5818
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5818#FFFFFF#000000##FFFFFF
##2B58181.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500F
Deuteranopia (green-blind)
#554C1E
Tritanopia (blue-blind)
#28554B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b5818;
/* rgb */ color: rgb(43, 88, 24);
/* oklch */ color: oklch(41.3% 0.106 137.9);
Tailwind
colors: {
  custom: {
    50: '#698759',
    500: '#2b5818',
    950: '#000000',
  },
}
SCSS
$custom: #2b5818;
$custom-light: #698759;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5818",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 24
  },
  "hsl": {
    "h": 102.188,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41326,
    "c": 0.10623,
    "h": 137.9
  },
  "luminance": 0.07559
}

Semantic roles & 50–950 ramp

primary
#2B5818
secondary
#763D8F
accent
#47E0B3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2B5818

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

Preview Lab → · Contrast checker → · Palette generator →

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