#2A7414#2A7414

#2A7414 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.4% C 0.146 H 139.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#2A7414
RGBrgb(42, 116, 20)
HSLhsl(106, 71%, 27%)
HSVhsv(106, 83%, 45%)
CMYKcmyk(63.8%, 0%, 82.8%, 54.5%)
CIE-LABlab(42.81, -40.71, 42.43)
CIE-LCHlch(42.81, 58.80, 133.82°)
OKLaboklab(49.36% -0.1119 0.0943)
OKLCHoklch(49.36% 0.146 139.9)
XYZxyz(7.3262, 13.0328, 2.7912)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7414 #5E1474
analogous
#5A7414 #2A7414 #14742E
triadic
#2A7414 #142A74 #74142A
tetradic
#2A7414 #145A74 #5E1474 #742E14
square
#2A7414 #145A74 #5E1474 #742E14
split-complementary
#2A7414 #2E1474 #74145A
monochromatic
#091A05 #17400B #2A7414 #3DA81D #51DA28

Accessibility & contrast

On white

5.82
#2A7414 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#2A7414 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7414
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7414#FFFFFF#000000##FFFFFF
##2A74141.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#6E631F
Tritanopia (blue-blind)
#207062
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2a7414;
/* rgb */ color: rgb(42, 116, 20);
/* oklch */ color: oklch(49.4% 0.146 139.9);
Tailwind
colors: {
  custom: {
    50: '#6e9d5b',
    500: '#2a7414',
    950: '#000000',
  },
}
SCSS
$custom: #2a7414;
$custom-light: #6e9d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7414",
  "rgb": {
    "r": 42,
    "g": 116,
    "b": 20
  },
  "hsl": {
    "h": 106.25,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.4936,
    "c": 0.14632,
    "h": 139.9
  },
  "luminance": 0.13034
}

Semantic roles & 50–950 ramp

primary
#2A7414
secondary
#903AAA
accent
#3AEDC4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2A7414

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

Preview Lab → · Contrast checker → · Palette generator →

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