#2A7618#2A7618

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

Color values

HEX#2A7618
RGBrgb(42, 118, 24)
HSLhsl(109, 66%, 28%)
HSVhsv(109, 80%, 46%)
CMYKcmyk(64.4%, 0%, 79.7%, 53.7%)
CIE-LABlab(43.53, -41.20, 41.75)
CIE-LCHlch(43.53, 58.65, 134.62°)
OKLaboklab(49.96% -0.1129 0.0935)
OKLCHoklch(49.96% 0.147 140.4)
XYZxyz(7.5978, 13.5143, 3.0721)
Luminance0.1351 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7618 #641876
analogous
#597618 #2A7618 #187635
triadic
#2A7618 #182A76 #76182A
tetradic
#2A7618 #185976 #641876 #763518
square
#2A7618 #185976 #641876 #763518
split-complementary
#2A7618 #351876 #761859
monochromatic
#091905 #18430E #2A7618 #3CA922 #52D533

Accessibility & contrast

On white

5.67
#2A7618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#2A7618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7618
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7618#FFFFFF#000000##FFFFFF
##2A76181.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B03
Deuteranopia (green-blind)
#706422
Tritanopia (blue-blind)
#1F7264
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a7618;
/* rgb */ color: rgb(42, 118, 24);
/* oklch */ color: oklch(50.0% 0.147 140.4);
Tailwind
colors: {
  custom: {
    50: '#6e9e5d',
    500: '#2a7618',
    950: '#000000',
  },
}
SCSS
$custom: #2a7618;
$custom-light: #6e9e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7618",
  "rgb": {
    "r": 42,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 108.511,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49959,
    "c": 0.14663,
    "h": 140.4
  },
  "luminance": 0.13515
}

Semantic roles & 50–950 ramp

primary
#2A7618
secondary
#963FAB
accent
#3FE9C8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2A7618

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

Preview Lab → · Contrast checker → · Palette generator →

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