#2A7010#2A7010

#2A7010 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.143 H 139.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#2A7010
RGBrgb(42, 112, 16)
HSLhsl(104, 75%, 25%)
HSVhsv(104, 86%, 44%)
CMYKcmyk(62.5%, 0%, 85.7%, 56.1%)
CIE-LABlab(41.40, -39.43, 42.37)
CIE-LCHlch(41.40, 57.87, 132.94°)
OKLaboklab(48.19% -0.1086 0.0936)
OKLCHoklch(48.19% 0.143 139.3)
XYZxyz(6.8423, 12.1174, 2.4684)
Luminance0.1212 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7010 #561070
analogous
#5A7010 #2A7010 #107026
triadic
#2A7010 #102A70 #70102A
tetradic
#2A7010 #105A70 #561070 #702610
square
#2A7010 #105A70 #561070 #702610
split-complementary
#2A7010 #261070 #70105A
monochromatic
#0A1B04 #163A08 #2A7010 #3EA618 #52DB1F

Accessibility & contrast

On white

6.13
#2A7010 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#2A7010 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7010
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7010#FFFFFF#000000##FFFFFF
##2A70101.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6B5F1C
Tritanopia (blue-blind)
#226C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a7010;
/* rgb */ color: rgb(42, 112, 16);
/* oklch */ color: oklch(48.2% 0.143 139.3);
Tailwind
colors: {
  custom: {
    50: '#6d9a58',
    500: '#2a7010',
    950: '#000000',
  },
}
SCSS
$custom: #2a7010;
$custom-light: #6d9a58;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7010",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 16
  },
  "hsl": {
    "h": 103.75,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48187,
    "c": 0.14336,
    "h": 139.3
  },
  "luminance": 0.12118
}

Semantic roles & 50–950 ramp

primary
#2A7010
secondary
#8834A8
accent
#36F2BF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2A7010

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

Preview Lab → · Contrast checker → · Palette generator →

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