#2A742E#2A742E

#2A742E is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.6% C 0.128 H 144.2°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#2A742E
RGBrgb(42, 116, 46)
HSLhsl(123, 47%, 31%)
HSVhsv(123, 64%, 45%)
CMYKcmyk(63.8%, 0%, 60.3%, 54.5%)
CIE-LABlab(43.03, -38.17, 31.51)
CIE-LCHlch(43.03, 49.49, 140.46°)
OKLaboklab(49.61% -0.1035 0.0746)
OKLCHoklch(49.61% 0.128 144.2)
XYZxyz(7.6929, 13.1795, 4.7227)
Luminance0.1318 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A742E #742A70
analogous
#4B742A #2A742E #2A7453
triadic
#2A742E #2E2A74 #742E2A
tetradic
#2A742E #2A4B74 #742A70 #74532A
square
#2A742E #2A4B74 #742A70 #74532A
split-complementary
#2A742E #532A74 #742A4B
monochromatic
#091A0A #1A471C #2A742E #3AA140 #56C25C

Accessibility & contrast

On white

5.78
#2A742E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#2A742E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A742E
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A742E#FFFFFF#000000##FFFFFF
##2A742E1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766927
Deuteranopia (green-blind)
#6D6333
Tritanopia (blue-blind)
#1B7165
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2a742e;
/* rgb */ color: rgb(42, 116, 46);
/* oklch */ color: oklch(49.6% 0.128 144.2);
Tailwind
colors: {
  custom: {
    50: '#6d9d69',
    500: '#2a742e',
    950: '#000000',
  },
}
SCSS
$custom: #2a742e;
$custom-light: #6d9d69;
$custom-dark: #000000;
JSON
{
  "hex": "#2a742e",
  "rgb": {
    "r": 42,
    "g": 116,
    "b": 46
  },
  "hsl": {
    "h": 123.243,
    "s": 46.835,
    "l": 30.98
  },
  "oklch": {
    "l": 0.49612,
    "c": 0.12756,
    "h": 144.2
  },
  "luminance": 0.1318
}

Semantic roles & 50–950 ramp

primary
#2A742E
secondary
#A654A1
accent
#51CFD6
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2A742E

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

Preview Lab → · Contrast checker → · Palette generator →

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