#2A701F#2A701F

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

Color values

HEX#2A701F
RGBrgb(42, 112, 31)
HSLhsl(112, 57%, 28%)
HSVhsv(112, 72%, 44%)
CMYKcmyk(62.5%, 0%, 72.3%, 56.1%)
CIE-LABlab(41.50, -38.30, 36.92)
CIE-LCHlch(41.50, 53.19, 136.05°)
OKLaboklab(48.3% -0.1047 0.0844)
OKLCHoklch(48.3% 0.134 141.1)
XYZxyz(6.9960, 12.1789, 3.2781)
Luminance0.1218 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A701F #651F70
analogous
#52701F #2A701F #1F703C
triadic
#2A701F #1F2A70 #701F2A
tetradic
#2A701F #1F5270 #651F70 #703C1F
square
#2A701F #1F5270 #651F70 #703C1F
split-complementary
#2A701F #3C1F70 #701F52
monochromatic
#091807 #184012 #2A701F #3CA02C #52CA3F

Accessibility & contrast

On white

6.11
#2A701F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2A701F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A701F
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A701F#FFFFFF#000000##FFFFFF
##2A701F1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736513
Deuteranopia (green-blind)
#6A6027
Tritanopia (blue-blind)
#206C60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a701f;
/* rgb */ color: rgb(42, 112, 31);
/* oklch */ color: oklch(48.3% 0.134 141.1);
Tailwind
colors: {
  custom: {
    50: '#6d9a5f',
    500: '#2a701f',
    950: '#000000',
  },
}
SCSS
$custom: #2a701f;
$custom-light: #6d9a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a701f",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 111.852,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48298,
    "c": 0.13448,
    "h": 141.1
  },
  "luminance": 0.1218
}

Semantic roles & 50–950 ramp

primary
#2A701F
secondary
#9747A4
accent
#48E0CB
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2A701F

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

Preview Lab → · Contrast checker → · Palette generator →

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