#2B5E17#2B5E17

#2B5E17 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.1% C 0.115 H 138.4°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#2B5E17
RGBrgb(43, 94, 23)
HSLhsl(103, 61%, 23%)
HSVhsv(103, 76%, 37%)
CMYKcmyk(54.3%, 0%, 75.5%, 63.1%)
CIE-LABlab(35.16, -31.29, 33.78)
CIE-LCHlch(35.16, 46.05, 132.81°)
OKLaboklab(43.06% -0.0863 0.0767)
OKLCHoklch(43.06% 0.115 138.4)
XYZxyz(5.1534, 8.5805, 2.1951)
Luminance0.0858 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5E17 #4A175E
analogous
#4E5E17 #2B5E17 #175E27
triadic
#2B5E17 #172B5E #5E172B
tetradic
#2B5E17 #174E5E #4A175E #5E2717
square
#2B5E17 #174E5E #4A175E #5E2717
split-complementary
#2B5E17 #27175E #5E174E
monochromatic
#0B1906 #152D0B #2B5E17 #418F23 #58C02F

Accessibility & contrast

On white

7.73
#2B5E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2B5E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5E17
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5E17#FFFFFF#000000##FFFFFF
##2B5E171.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550C
Deuteranopia (green-blind)
#5A511E
Tritanopia (blue-blind)
#275B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b5e17;
/* rgb */ color: rgb(43, 94, 23);
/* oklch */ color: oklch(43.1% 0.115 138.4);
Tailwind
colors: {
  custom: {
    50: '#6a8c59',
    500: '#2b5e17',
    950: '#000000',
  },
}
SCSS
$custom: #2b5e17;
$custom-light: #6a8c59;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5e17",
  "rgb": {
    "r": 43,
    "g": 94,
    "b": 23
  },
  "hsl": {
    "h": 103.099,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43064,
    "c": 0.11549,
    "h": 138.4
  },
  "luminance": 0.08581
}

Semantic roles & 50–950 ramp

primary
#2B5E17
secondary
#7C3C95
accent
#44E4B7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2B5E17

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

Preview Lab → · Contrast checker → · Palette generator →

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