#2B5F15#2B5F15

#2B5F15 is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.3% C 0.118 H 138.2°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#2B5F15
RGBrgb(43, 95, 21)
HSLhsl(102, 64%, 23%)
HSVhsv(102, 78%, 37%)
CMYKcmyk(54.7%, 0%, 77.9%, 62.7%)
CIE-LABlab(35.50, -31.89, 34.96)
CIE-LCHlch(35.50, 47.32, 132.37°)
OKLaboklab(43.34% -0.0881 0.0789)
OKLCHoklch(43.34% 0.118 138.2)
XYZxyz(5.2236, 8.7518, 2.1233)
Luminance0.0875 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5F15 #49155F
analogous
#505F15 #2B5F15 #155F24
triadic
#2B5F15 #152B5F #5F152B
tetradic
#2B5F15 #15505F #49155F #5F2415
square
#2B5F15 #15505F #49155F #5F2415
split-complementary
#2B5F15 #24155F #5F1550
monochromatic
#0B1906 #142D0A #2B5F15 #429120 #58C32B

Accessibility & contrast

On white

7.64
#2B5F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2B5F15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5F15
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5F15#FFFFFF#000000##FFFFFF
##2B5F151.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625608
Deuteranopia (green-blind)
#5B521C
Tritanopia (blue-blind)
#275B51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b5f15;
/* rgb */ color: rgb(43, 95, 21);
/* oklch */ color: oklch(43.3% 0.118 138.2);
Tailwind
colors: {
  custom: {
    50: '#6a8d58',
    500: '#2b5f15',
    950: '#000000',
  },
}
SCSS
$custom: #2b5f15;
$custom-light: #6a8d58;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5f15",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 21
  },
  "hsl": {
    "h": 102.162,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43338,
    "c": 0.11825,
    "h": 138.2
  },
  "luminance": 0.08752
}

Semantic roles & 50–950 ramp

primary
#2B5F15
secondary
#7B3A96
accent
#41E7B6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B5F15

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

Preview Lab → · Contrast checker → · Palette generator →

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