#2B7C18#2B7C18

#2B7C18 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.154 H 140.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#2B7C18
RGBrgb(43, 124, 24)
HSLhsl(109, 68%, 29%)
HSVhsv(109, 81%, 49%)
CMYKcmyk(65.3%, 0%, 80.6%, 51.4%)
CIE-LABlab(45.63, -43.19, 43.79)
CIE-LCHlch(45.63, 61.51, 134.61°)
OKLaboklab(51.7% -0.1184 0.0978)
OKLCHoklch(51.7% 0.154 140.5)
XYZxyz(8.3684, 14.9940, 3.3171)
Luminance0.1499 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7C18 #69187C
analogous
#5D7C18 #2B7C18 #187C37
triadic
#2B7C18 #182B7C #7C182B
tetradic
#2B7C18 #185D7C #69187C #7C3718
square
#2B7C18 #185D7C #69187C #7C3718
split-complementary
#2B7C18 #37187C #7C185D
monochromatic
#091A05 #19490E #2B7C18 #3DAF22 #55D836

Accessibility & contrast

On white

5.25
#2B7C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2B7C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7C18
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7C18#FFFFFF#000000##FFFFFF
##2B7C181.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#1E7869
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2b7c18;
/* rgb */ color: rgb(43, 124, 24);
/* oklch */ color: oklch(51.7% 0.154 140.5);
Tailwind
colors: {
  custom: {
    50: '#70a35e',
    500: '#2b7c18',
    950: '#000000',
  },
}
SCSS
$custom: #2b7c18;
$custom-light: #70a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7c18",
  "rgb": {
    "r": 43,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 108.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51704,
    "c": 0.15352,
    "h": 140.5
  },
  "luminance": 0.14995
}

Semantic roles & 50–950 ramp

primary
#2B7C18
secondary
#9B3FB1
accent
#3DEACA
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2B7C18

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

Preview Lab → · Contrast checker → · Palette generator →

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