#2B5419#2B5419

#2B5419 is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.2% C 0.100 H 137.5°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#2B5419
RGBrgb(43, 84, 25)
HSLhsl(102, 54%, 21%)
HSVhsv(102, 70%, 33%)
CMYKcmyk(48.8%, 0%, 70.2%, 67.1%)
CIE-LABlab(31.63, -26.58, 29.12)
CIE-LCHlch(31.63, 39.43, 132.39°)
OKLaboklab(40.17% -0.0734 0.0672)
OKLCHoklch(40.17% 0.1 137.5)
XYZxyz(4.3419, 6.9242, 2.0272)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5419 #421954
analogous
#495419 #2B5419 #195425
triadic
#2B5419 #192B54 #54192B
tetradic
#2B5419 #194954 #421954 #542519
square
#2B5419 #194954 #421954 #542519
split-complementary
#2B5419 #251954 #541949
monochromatic
#0C1807 #13250B #2B5419 #438327 #5BB235

Accessibility & contrast

On white

8.81
#2B5419 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2B5419 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5419
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5419#FFFFFF#000000##FFFFFF
##2B54191.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D12
Deuteranopia (green-blind)
#51491E
Tritanopia (blue-blind)
#295148
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b5419;
/* rgb */ color: rgb(43, 84, 25);
/* oklch */ color: oklch(40.2% 0.100 137.5);
Tailwind
colors: {
  custom: {
    50: '#688459',
    500: '#2b5419',
    950: '#000000',
  },
}
SCSS
$custom: #2b5419;
$custom-light: #688459;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5419",
  "rgb": {
    "r": 43,
    "g": 84,
    "b": 25
  },
  "hsl": {
    "h": 101.695,
    "s": 54.128,
    "l": 21.373
  },
  "oklch": {
    "l": 0.4017,
    "c": 0.09952,
    "h": 137.5
  },
  "luminance": 0.06924
}

Semantic roles & 50–950 ramp

primary
#2B5419
secondary
#733E8A
accent
#4ADDB1
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #2B5419

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

Preview Lab → · Contrast checker → · Palette generator →

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