#2B6618#2B6618

#2B6618 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.4% C 0.126 H 139.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#2B6618
RGBrgb(43, 102, 24)
HSLhsl(105, 62%, 25%)
HSVhsv(105, 76%, 40%)
CMYKcmyk(57.8%, 0%, 76.5%, 60%)
CIE-LABlab(37.99, -34.60, 36.25)
CIE-LCHlch(37.99, 50.11, 133.66°)
OKLaboklab(45.39% -0.0952 0.082)
OKLCHoklch(45.39% 0.126 139.3)
XYZxyz(5.9123, 10.0818, 2.4984)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6618 #531866
analogous
#526618 #2B6618 #18662C
triadic
#2B6618 #182B66 #66182B
tetradic
#2B6618 #185266 #531866 #662C18
square
#2B6618 #185266 #531866 #662C18
split-complementary
#2B6618 #2C1866 #661852
monochromatic
#0A1906 #16340C #2B6618 #409824 #55C92F

Accessibility & contrast

On white

6.96
#2B6618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2B6618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6618
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6618#FFFFFF#000000##FFFFFF
##2B66181.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C0A
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#256257
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2b6618;
/* rgb */ color: rgb(43, 102, 24);
/* oklch */ color: oklch(45.4% 0.126 139.3);
Tailwind
colors: {
  custom: {
    50: '#6c925a',
    500: '#2b6618',
    950: '#000000',
  },
}
SCSS
$custom: #2b6618;
$custom-light: #6c925a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6618",
  "rgb": {
    "r": 43,
    "g": 102,
    "b": 24
  },
  "hsl": {
    "h": 105.385,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45393,
    "c": 0.12567,
    "h": 139.3
  },
  "luminance": 0.10082
}

Semantic roles & 50–950 ramp

primary
#2B6618
secondary
#853E9C
accent
#43E5BD
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2B6618

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

Preview Lab → · Contrast checker → · Palette generator →

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