#2A7110#2A7110

#2A7110 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.5% C 0.145 H 139.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#2A7110
RGBrgb(42, 113, 16)
HSLhsl(104, 75%, 25%)
HSVhsv(104, 86%, 44%)
CMYKcmyk(62.8%, 0%, 85.8%, 55.7%)
CIE-LABlab(41.75, -39.81, 42.68)
CIE-LCHlch(41.75, 58.37, 133.00°)
OKLaboklab(48.48% -0.1096 0.0943)
OKLCHoklch(48.48% 0.145 139.3)
XYZxyz(6.9532, 12.3393, 2.5054)
Luminance0.1234 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7110 #571071
analogous
#5A7110 #2A7110 #107127
triadic
#2A7110 #102A71 #71102A
tetradic
#2A7110 #105A71 #571071 #712710
square
#2A7110 #105A71 #571071 #712710
split-complementary
#2A7110 #271071 #71105A
monochromatic
#0A1B04 #163B08 #2A7110 #3EA718 #52DC1F

Accessibility & contrast

On white

6.06
#2A7110 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#2A7110 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7110
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7110#FFFFFF#000000##FFFFFF
##2A71101.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6C601C
Tritanopia (blue-blind)
#216D60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a7110;
/* rgb */ color: rgb(42, 113, 16);
/* oklch */ color: oklch(48.5% 0.145 139.3);
Tailwind
colors: {
  custom: {
    50: '#6e9a58',
    500: '#2a7110',
    950: '#000000',
  },
}
SCSS
$custom: #2a7110;
$custom-light: #6e9a58;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7110",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 16
  },
  "hsl": {
    "h": 103.918,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48475,
    "c": 0.14458,
    "h": 139.3
  },
  "luminance": 0.1234
}

Semantic roles & 50–950 ramp

primary
#2A7110
secondary
#8934A9
accent
#36F2BF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2A7110

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

Preview Lab → · Contrast checker → · Palette generator →

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