#2B5F14#2B5F14

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

Color values

HEX#2B5F14
RGBrgb(43, 95, 20)
HSLhsl(102, 65%, 23%)
HSVhsv(102, 79%, 37%)
CMYKcmyk(54.7%, 0%, 78.9%, 62.7%)
CIE-LABlab(35.49, -31.97, 35.36)
CIE-LCHlch(35.49, 47.67, 132.12°)
OKLaboklab(43.33% -0.0884 0.0795)
OKLCHoklch(43.33% 0.119 138)
XYZxyz(5.2146, 8.7481, 2.0755)
Luminance0.0875 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5F14 #48145F
analogous
#505F14 #2B5F14 #145F23
triadic
#2B5F14 #142B5F #5F142B
tetradic
#2B5F14 #14505F #48145F #5F2314
square
#2B5F14 #14505F #48145F #5F2314
split-complementary
#2B5F14 #23145F #5F1450
monochromatic
#0B1905 #142C09 #2B5F14 #42921F #59C429

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B5F14#FFFFFF#000000##FFFFFF
##2B5F141.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)
#625606
Deuteranopia (green-blind)
#5B521C
Tritanopia (blue-blind)
#275B51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b5f14;
/* rgb */ color: rgb(43, 95, 20);
/* oklch */ color: oklch(43.3% 0.119 138.0);
Tailwind
colors: {
  custom: {
    50: '#6a8d57',
    500: '#2b5f14',
    950: '#000000',
  },
}
SCSS
$custom: #2b5f14;
$custom-light: #6a8d57;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5f14",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 20
  },
  "hsl": {
    "h": 101.6,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43329,
    "c": 0.11891,
    "h": 138
  },
  "luminance": 0.08749
}

Semantic roles & 50–950 ramp

primary
#2B5F14
secondary
#7A3897
accent
#40E8B4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B5F14

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

Preview Lab → · Contrast checker → · Palette generator →

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