#2A7627#2A7627

#2A7627 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.1% C 0.136 H 142.6°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#2A7627
RGBrgb(42, 118, 39)
HSLhsl(118, 50%, 31%)
HSVhsv(118, 67%, 46%)
CMYKcmyk(64.4%, 0%, 66.9%, 53.7%)
CIE-LABlab(43.65, -39.82, 35.63)
CIE-LCHlch(43.65, 53.43, 138.18°)
OKLaboklab(50.1% -0.1083 0.0827)
OKLCHoklch(50.1% 0.136 142.6)
XYZxyz(7.7991, 13.5948, 4.1321)
Luminance0.1360 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7627 #732776
analogous
#517627 #2A7627 #27764B
triadic
#2A7627 #272A76 #76272A
tetradic
#2A7627 #275176 #732776 #764B27
square
#2A7627 #275176 #732776 #764B27
split-complementary
#2A7627 #4B2776 #762751
monochromatic
#091A09 #1A4818 #2A7627 #3AA436 #56C652

Accessibility & contrast

On white

5.65
#2A7627 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#2A7627 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7627
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7627#FFFFFF#000000##FFFFFF
##2A76271.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B1D
Deuteranopia (green-blind)
#6F652E
Tritanopia (blue-blind)
#1C7266
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a7627;
/* rgb */ color: rgb(42, 118, 39);
/* oklch */ color: oklch(50.1% 0.136 142.6);
Tailwind
colors: {
  custom: {
    50: '#6d9e65',
    500: '#2a7627',
    950: '#000000',
  },
}
SCSS
$custom: #2a7627;
$custom-light: #6d9e65;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7627",
  "rgb": {
    "r": 42,
    "g": 118,
    "b": 39
  },
  "hsl": {
    "h": 117.722,
    "s": 50.318,
    "l": 30.784
  },
  "oklch": {
    "l": 0.50095,
    "c": 0.13629,
    "h": 142.6
  },
  "luminance": 0.13596
}

Semantic roles & 50–950 ramp

primary
#2A7627
secondary
#A551A8
accent
#4EDAD5
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2A7627

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

Preview Lab → · Contrast checker → · Palette generator →

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