#2A7615#2A7615

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

Color values

HEX#2A7615
RGBrgb(42, 118, 21)
HSLhsl(107, 70%, 27%)
HSVhsv(107, 82%, 46%)
CMYKcmyk(64.4%, 0%, 82.2%, 53.7%)
CIE-LABlab(43.51, -41.40, 42.76)
CIE-LCHlch(43.51, 59.52, 134.08°)
OKLaboklab(49.94% -0.1137 0.0952)
OKLCHoklch(49.94% 0.148 140.1)
XYZxyz(7.5683, 13.5025, 2.9167)
Luminance0.1350 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7615 #611576
analogous
#5B7615 #2A7615 #157630
triadic
#2A7615 #152A76 #76152A
tetradic
#2A7615 #155B76 #611576 #763015
square
#2A7615 #155B76 #611576 #763015
split-complementary
#2A7615 #301576 #76155B
monochromatic
#091A05 #18420C #2A7615 #3CAA1E #52D92C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A7615#FFFFFF#000000##FFFFFF
##2A76151.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)
#796B00
Deuteranopia (green-blind)
#706420
Tritanopia (blue-blind)
#1F7264
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a7615;
/* rgb */ color: rgb(42, 118, 21);
/* oklch */ color: oklch(49.9% 0.148 140.1);
Tailwind
colors: {
  custom: {
    50: '#6e9e5b',
    500: '#2a7615',
    950: '#000000',
  },
}
SCSS
$custom: #2a7615;
$custom-light: #6e9e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7615",
  "rgb": {
    "r": 42,
    "g": 118,
    "b": 21
  },
  "hsl": {
    "h": 107.01,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.4994,
    "c": 0.14824,
    "h": 140.1
  },
  "luminance": 0.13503
}

Semantic roles & 50–950 ramp

primary
#2A7615
secondary
#933BAC
accent
#3BEDC6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2A7615

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

Preview Lab → · Contrast checker → · Palette generator →

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