#2A6318#2A6318

#2A6318 is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.5% C 0.122 H 139.3°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#2A6318
RGBrgb(42, 99, 24)
HSLhsl(106, 61%, 24%)
HSVhsv(106, 76%, 39%)
CMYKcmyk(57.6%, 0%, 75.8%, 61.2%)
CIE-LABlab(36.90, -33.65, 35.12)
CIE-LCHlch(36.90, 48.64, 133.78°)
OKLaboklab(44.48% -0.0926 0.0797)
OKLCHoklch(44.48% 0.122 139.3)
XYZxyz(5.5813, 9.4814, 2.4000)
Luminance0.0948 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6318 #511863
analogous
#506318 #2A6318 #18632C
triadic
#2A6318 #182A63 #63182A
tetradic
#2A6318 #185063 #511863 #632C18
square
#2A6318 #185063 #511863 #632C18
split-complementary
#2A6318 #2C1863 #631850
monochromatic
#0A1906 #15320C #2A6318 #3F9424 #54C630

Accessibility & contrast

On white

7.25
#2A6318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2A6318 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A6318
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6318#FFFFFF#000000##FFFFFF
##2A63181.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0C
Deuteranopia (green-blind)
#5F551F
Tritanopia (blue-blind)
#245F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2a6318;
/* rgb */ color: rgb(42, 99, 24);
/* oklch */ color: oklch(44.5% 0.122 139.3);
Tailwind
colors: {
  custom: {
    50: '#6a905a',
    500: '#2a6318',
    950: '#000000',
  },
}
SCSS
$custom: #2a6318;
$custom-light: #6a905a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6318",
  "rgb": {
    "r": 42,
    "g": 99,
    "b": 24
  },
  "hsl": {
    "h": 105.6,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.44481,
    "c": 0.12214,
    "h": 139.3
  },
  "luminance": 0.09482
}

Semantic roles & 50–950 ramp

primary
#2A6318
secondary
#833E99
accent
#44E4BE
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2A6318

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

Preview Lab → · Contrast checker → · Palette generator →

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