#2A7E33#2A7E33

#2A7E33 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.137 H 145.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2A7E33
RGBrgb(42, 126, 51)
HSLhsl(126, 50%, 33%)
HSVhsv(126, 67%, 49%)
CMYKcmyk(66.7%, 0%, 59.5%, 50.6%)
CIE-LABlab(46.51, -41.46, 33.07)
CIE-LCHlch(46.51, 53.03, 141.42°)
OKLaboklab(52.51% -0.1122 0.0784)
OKLCHoklch(52.51% 0.137 145.1)
XYZxyz(9.0127, 15.6521, 5.6775)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7E33 #7E2A75
analogous
#4B7E2A #2A7E33 #2A7E5D
triadic
#2A7E33 #332A7E #7E332A
tetradic
#2A7E33 #2A4B7E #7E2A75 #7E5D2A
square
#2A7E33 #2A4B7E #7E2A75 #7E5D2A
split-complementary
#2A7E33 #5D2A7E #7E2A4B
monochromatic
#0B220E #1B5020 #2A7E33 #39AC46 #5AC866

Accessibility & contrast

On white

5.08
#2A7E33 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2A7E33 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7E33
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7E33#FFFFFF#000000##FFFFFF
##2A7E331.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80732C
Deuteranopia (green-blind)
#766B39
Tritanopia (blue-blind)
#147B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a7e33;
/* rgb */ color: rgb(42, 126, 51);
/* oklch */ color: oklch(52.5% 0.137 145.1);
Tailwind
colors: {
  custom: {
    50: '#6fa46d',
    500: '#2a7e33',
    950: '#000000',
  },
}
SCSS
$custom: #2a7e33;
$custom-light: #6fa46d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7e33",
  "rgb": {
    "r": 42,
    "g": 126,
    "b": 51
  },
  "hsl": {
    "h": 126.429,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52506,
    "c": 0.13684,
    "h": 145.1
  },
  "luminance": 0.15653
}

Semantic roles & 50–950 ramp

primary
#2A7E33
secondary
#AE56A4
accent
#4ECBDA
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2A7E33

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

Preview Lab → · Contrast checker → · Palette generator →

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