#2A7E10#2A7E10

#2A7E10 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.160 H 140.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2A7E10
RGBrgb(42, 126, 16)
HSLhsl(106, 77%, 28%)
HSVhsv(106, 87%, 49%)
CMYKcmyk(66.7%, 0%, 87.3%, 50.6%)
CIE-LABlab(46.25, -44.63, 46.75)
CIE-LCHlch(46.25, 64.63, 133.67°)
OKLaboklab(52.2% -0.1226 0.1028)
OKLCHoklch(52.2% 0.16 140)
XYZxyz(8.5088, 15.4505, 3.0240)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7E10 #64107E
analogous
#617E10 #2A7E10 #107E2D
triadic
#2A7E10 #102A7E #7E102A
tetradic
#2A7E10 #10617E #64107E #7E2D10
square
#2A7E10 #10617E #64107E #7E2D10
split-complementary
#2A7E10 #2D107E #7E1061
monochromatic
#091B03 #184809 #2A7E10 #3CB417 #52E325

Accessibility & contrast

On white

5.13
#2A7E10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#2A7E10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7E10
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7E10#FFFFFF#000000##FFFFFF
##2A7E101.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786B1F
Tritanopia (blue-blind)
#1D7A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a7e10;
/* rgb */ color: rgb(42, 126, 16);
/* oklch */ color: oklch(52.2% 0.160 140.0);
Tailwind
colors: {
  custom: {
    50: '#70a45b',
    500: '#2a7e10',
    950: '#000000',
  },
}
SCSS
$custom: #2a7e10;
$custom-light: #70a45b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7e10",
  "rgb": {
    "r": 42,
    "g": 126,
    "b": 16
  },
  "hsl": {
    "h": 105.818,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52197,
    "c": 0.15996,
    "h": 140
  },
  "luminance": 0.15451
}

Semantic roles & 50–950 ramp

primary
#2A7E10
secondary
#9636B4
accent
#34F4C7
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #2A7E10

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

Preview Lab → · Contrast checker → · Palette generator →

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