#2A711B#2A711B

#2A711B is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.5% C 0.139 H 140.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#2A711B
RGBrgb(42, 113, 27)
HSLhsl(110, 61%, 27%)
HSVhsv(110, 76%, 44%)
CMYKcmyk(62.8%, 0%, 76.1%, 55.7%)
CIE-LABlab(41.82, -39.05, 38.91)
CIE-LCHlch(41.82, 55.13, 135.10°)
OKLaboklab(48.55% -0.107 0.088)
OKLCHoklch(48.55% 0.139 140.5)
XYZxyz(7.0575, 12.3810, 3.0546)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A711B #621B71
analogous
#55711B #2A711B #1B7137
triadic
#2A711B #1B2A71 #711B2A
tetradic
#2A711B #1B5571 #621B71 #71371B
square
#2A711B #1B5571 #621B71 #71371B
split-complementary
#2A711B #371B71 #711B55
monochromatic
#091906 #18400F #2A711B #3CA227 #52CF37

Accessibility & contrast

On white

6.04
#2A711B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2A711B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A711B
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A711B#FFFFFF#000000##FFFFFF
##2A711B1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74660B
Deuteranopia (green-blind)
#6B6024
Tritanopia (blue-blind)
#206D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a711b;
/* rgb */ color: rgb(42, 113, 27);
/* oklch */ color: oklch(48.5% 0.139 140.5);
Tailwind
colors: {
  custom: {
    50: '#6d9a5d',
    500: '#2a711b',
    950: '#000000',
  },
}
SCSS
$custom: #2a711b;
$custom-light: #6d9a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a711b",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 27
  },
  "hsl": {
    "h": 109.535,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48549,
    "c": 0.13853,
    "h": 140.5
  },
  "luminance": 0.12382
}

Semantic roles & 50–950 ramp

primary
#2A711B
secondary
#9442A6
accent
#43E5C8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2A711B

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

Preview Lab → · Contrast checker → · Palette generator →

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