#2A7513#2A7513

#2A7513 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.6% C 0.148 H 139.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#2A7513
RGBrgb(42, 117, 19)
HSLhsl(106, 72%, 27%)
HSVhsv(106, 84%, 46%)
CMYKcmyk(64.1%, 0%, 83.8%, 54.1%)
CIE-LABlab(43.15, -41.15, 43.07)
CIE-LCHlch(43.15, 59.57, 133.70°)
OKLaboklab(49.64% -0.1131 0.0955)
OKLCHoklch(49.64% 0.148 139.8)
XYZxyz(7.4333, 13.2611, 2.7839)
Luminance0.1326 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7513 #5E1375
analogous
#5B7513 #2A7513 #13752D
triadic
#2A7513 #132A75 #75132A
tetradic
#2A7513 #135B75 #5E1375 #752D13
square
#2A7513 #135B75 #5E1375 #752D13
split-complementary
#2A7513 #2D1375 #75135B
monochromatic
#091A04 #17400A #2A7513 #3DAA1C #51DC27

Accessibility & contrast

On white

5.75
#2A7513 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#2A7513 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7513
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7513#FFFFFF#000000##FFFFFF
##2A75131.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A00
Deuteranopia (green-blind)
#6F641F
Tritanopia (blue-blind)
#207163
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2a7513;
/* rgb */ color: rgb(42, 117, 19);
/* oklch */ color: oklch(49.6% 0.148 139.8);
Tailwind
colors: {
  custom: {
    50: '#6e9d5a',
    500: '#2a7513',
    950: '#000000',
  },
}
SCSS
$custom: #2a7513;
$custom-light: #6e9d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7513",
  "rgb": {
    "r": 42,
    "g": 117,
    "b": 19
  },
  "hsl": {
    "h": 105.918,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49641,
    "c": 0.14803,
    "h": 139.8
  },
  "luminance": 0.13262
}

Semantic roles & 50–950 ramp

primary
#2A7513
secondary
#9038AB
accent
#39EFC4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2A7513

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

Preview Lab → · Contrast checker → · Palette generator →

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