#2A701C#2A701C

#2A701C is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.3% C 0.137 H 140.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#2A701C
RGBrgb(42, 112, 28)
HSLhsl(110, 60%, 27%)
HSVhsv(110, 75%, 44%)
CMYKcmyk(62.5%, 0%, 75%, 56.1%)
CIE-LABlab(41.48, -38.57, 38.16)
CIE-LCHlch(41.48, 54.26, 135.31°)
OKLaboklab(48.27% -0.1056 0.0866)
OKLCHoklch(48.27% 0.137 140.6)
XYZxyz(6.9583, 12.1638, 3.0795)
Luminance0.1216 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A701C #621C70
analogous
#54701C #2A701C #1C7038
triadic
#2A701C #1C2A70 #701C2A
tetradic
#2A701C #1C5470 #621C70 #70381C
square
#2A701C #1C5470 #621C70 #70381C
split-complementary
#2A701C #381C70 #701C54
monochromatic
#091806 #183F10 #2A701C #3CA128 #52CD39

Accessibility & contrast

On white

6.12
#2A701C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#2A701C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A701C
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A701C#FFFFFF#000000##FFFFFF
##2A701C1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73650E
Deuteranopia (green-blind)
#6A6024
Tritanopia (blue-blind)
#206C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a701c;
/* rgb */ color: rgb(42, 112, 28);
/* oklch */ color: oklch(48.3% 0.137 140.6);
Tailwind
colors: {
  custom: {
    50: '#6d9a5e',
    500: '#2a701c',
    950: '#000000',
  },
}
SCSS
$custom: #2a701c;
$custom-light: #6d9a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a701c",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 110,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48271,
    "c": 0.13658,
    "h": 140.6
  },
  "luminance": 0.12164
}

Semantic roles & 50–950 ramp

primary
#2A701C
secondary
#9443A5
accent
#45E3C9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2A701C

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

Preview Lab → · Contrast checker → · Palette generator →

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