#2B5D14#2B5D14

#2B5D14 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.7% C 0.116 H 137.8°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#2B5D14
RGBrgb(43, 93, 20)
HSLhsl(101, 65%, 22%)
HSVhsv(101, 78%, 36%)
CMYKcmyk(53.8%, 0%, 78.5%, 63.5%)
CIE-LABlab(34.79, -31.11, 34.65)
CIE-LCHlch(34.79, 46.56, 131.91°)
OKLaboklab(42.75% -0.0861 0.0781)
OKLCHoklch(42.75% 0.116 137.8)
XYZxyz(5.0367, 8.3924, 2.0162)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5D14 #46145D
analogous
#505D14 #2B5D14 #145D22
triadic
#2B5D14 #142B5D #5D142B
tetradic
#2B5D14 #14505D #46145D #5D2214
square
#2B5D14 #14505D #46145D #5D2214
split-complementary
#2B5D14 #22145D #5D1450
monochromatic
#0C1905 #142B09 #2B5D14 #428F1F #5AC22A

Accessibility & contrast

On white

7.84
#2B5D14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2B5D14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5D14
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5D14#FFFFFF#000000##FFFFFF
##2B5D141.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605407
Deuteranopia (green-blind)
#5A501B
Tritanopia (blue-blind)
#27594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b5d14;
/* rgb */ color: rgb(43, 93, 20);
/* oklch */ color: oklch(42.7% 0.116 137.8);
Tailwind
colors: {
  custom: {
    50: '#6a8b57',
    500: '#2b5d14',
    950: '#000000',
  },
}
SCSS
$custom: #2b5d14;
$custom-light: #6a8b57;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5d14",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 20
  },
  "hsl": {
    "h": 101.096,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42747,
    "c": 0.11619,
    "h": 137.8
  },
  "luminance": 0.08393
}

Semantic roles & 50–950 ramp

primary
#2B5D14
secondary
#783895
accent
#40E8B3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B5D14

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

Preview Lab → · Contrast checker → · Palette generator →

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