#2B7618#2B7618

#2B7618 is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.0% C 0.146 H 140.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#2B7618
RGBrgb(43, 118, 24)
HSLhsl(108, 66%, 28%)
HSVhsv(108, 80%, 46%)
CMYKcmyk(63.6%, 0%, 79.7%, 53.7%)
CIE-LABlab(43.56, -40.94, 41.79)
CIE-LCHlch(43.56, 58.50, 134.42°)
OKLaboklab(49.99% -0.1123 0.0936)
OKLCHoklch(49.99% 0.146 140.2)
XYZxyz(7.6392, 13.5357, 3.0741)
Luminance0.1354 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7618 #631876
analogous
#5A7618 #2B7618 #187634
triadic
#2B7618 #182B76 #76182B
tetradic
#2B7618 #185A76 #631876 #763418
square
#2B7618 #185A76 #631876 #763418
split-complementary
#2B7618 #341876 #76185A
monochromatic
#091905 #18430E #2B7618 #3EA922 #54D533

Accessibility & contrast

On white

5.66
#2B7618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#2B7618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7618
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7618#FFFFFF#000000##FFFFFF
##2B76181.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B03
Deuteranopia (green-blind)
#706522
Tritanopia (blue-blind)
#207264
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2b7618;
/* rgb */ color: rgb(43, 118, 24);
/* oklch */ color: oklch(50.0% 0.146 140.2);
Tailwind
colors: {
  custom: {
    50: '#6f9e5d',
    500: '#2b7618',
    950: '#000000',
  },
}
SCSS
$custom: #2b7618;
$custom-light: #6f9e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7618",
  "rgb": {
    "r": 43,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 107.872,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49994,
    "c": 0.1462,
    "h": 140.2
  },
  "luminance": 0.13536
}

Semantic roles & 50–950 ramp

primary
#2B7618
secondary
#953FAB
accent
#3FE9C7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2B7618

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

Preview Lab → · Contrast checker → · Palette generator →

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