#2B6E0F#2B6E0F

#2B6E0F is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.141 H 138.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#2B6E0F
RGBrgb(43, 110, 15)
HSLhsl(102, 76%, 25%)
HSVhsv(102, 86%, 43%)
CMYKcmyk(60.9%, 0%, 86.4%, 56.9%)
CIE-LABlab(40.73, -38.43, 42.06)
CIE-LCHlch(40.73, 56.97, 132.42°)
OKLaboklab(47.64% -0.1061 0.0928)
OKLCHoklch(47.64% 0.141 138.8)
XYZxyz(6.6581, 11.6994, 2.3592)
Luminance0.1170 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6E0F #520F6E
analogous
#5B6E0F #2B6E0F #0F6E23
triadic
#2B6E0F #0F2B6E #6E0F2B
tetradic
#2B6E0F #0F5B6E #520F6E #6E230F
square
#2B6E0F #0F5B6E #520F6E #6E230F
split-complementary
#2B6E0F #230F6E #6E0F5B
monochromatic
#0B1B04 #163808 #2B6E0F #40A416 #55DA1E

Accessibility & contrast

On white

6.29
#2B6E0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#2B6E0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6E0F
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6E0F#FFFFFF#000000##FFFFFF
##2B6E0F1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726300
Deuteranopia (green-blind)
#695E1B
Tritanopia (blue-blind)
#246A5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2b6e0f;
/* rgb */ color: rgb(43, 110, 15);
/* oklch */ color: oklch(47.6% 0.141 138.8);
Tailwind
colors: {
  custom: {
    50: '#6e9858',
    500: '#2b6e0f',
    950: '#000000',
  },
}
SCSS
$custom: #2b6e0f;
$custom-light: #6e9858;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6e0f",
  "rgb": {
    "r": 43,
    "g": 110,
    "b": 15
  },
  "hsl": {
    "h": 102.316,
    "s": 76,
    "l": 24.51
  },
  "oklch": {
    "l": 0.47643,
    "c": 0.14091,
    "h": 138.8
  },
  "luminance": 0.117
}

Semantic roles & 50–950 ramp

primary
#2B6E0F
secondary
#8433A6
accent
#35F3BB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2B6E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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