#2A4E30#2A4E30

#2A4E30 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.8% C 0.066 H 148.1°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#2A4E30
RGBrgb(42, 78, 48)
HSLhsl(130, 30%, 24%)
HSVhsv(130, 46%, 31%)
CMYKcmyk(46.2%, 0%, 38.5%, 69.4%)
CIE-LABlab(29.80, -20.46, 13.82)
CIE-LCHlch(29.80, 24.69, 145.96°)
OKLaboklab(38.77% -0.0557 0.0346)
OKLCHoklch(38.77% 0.066 148.1)
XYZxyz(4.2125, 6.1542, 3.7616)
Luminance0.0615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E30 #4E2A48
analogous
#364E2A #2A4E30 #2A4E42
triadic
#2A4E30 #302A4E #4E302A
tetradic
#2A4E30 #2A364E #4E2A48 #4E422A
square
#2A4E30 #2A364E #4E2A48 #4E422A
split-complementary
#2A4E30 #422A4E #4E2A36
monochromatic
#0B140C #152618 #2A4E30 #3F7648 #559E61

Accessibility & contrast

On white

9.41
#2A4E30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2A4E30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E30
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E30#FFFFFF#000000##FFFFFF
##2A4E301.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482E
Deuteranopia (green-blind)
#494532
Tritanopia (blue-blind)
#244D46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a4e30;
/* rgb */ color: rgb(42, 78, 48);
/* oklch */ color: oklch(38.8% 0.066 148.1);
Tailwind
colors: {
  custom: {
    50: '#668068',
    500: '#2a4e30',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e30;
$custom-light: #668068;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e30",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 48
  },
  "hsl": {
    "h": 130,
    "s": 30,
    "l": 23.529
  },
  "oklch": {
    "l": 0.38769,
    "c": 0.0656,
    "h": 148.1
  },
  "luminance": 0.06154
}

Semantic roles & 50–950 ramp

primary
#2A4E30
secondary
#805479
accent
#62B5C6
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2A4E30

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

Preview Lab → · Contrast checker → · Palette generator →

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