#2A6F2D#2A6F2D

#2A6F2D is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.121 H 144.1°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#2A6F2D
RGBrgb(42, 111, 45)
HSLhsl(123, 45%, 30%)
HSVhsv(123, 62%, 44%)
CMYKcmyk(62.2%, 0%, 59.5%, 56.5%)
CIE-LABlab(41.30, -36.26, 29.98)
CIE-LCHlch(41.30, 47.05, 140.42°)
OKLaboklab(48.18% -0.0984 0.0712)
OKLCHoklch(48.18% 0.121 144.1)
XYZxyz(7.1125, 12.0499, 4.4332)
Luminance0.1205 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6F2D #6F2A6C
analogous
#496F2A #2A6F2D #2A6F50
triadic
#2A6F2D #2D2A6F #6F2D2A
tetradic
#2A6F2D #2A496F #6F2A6C #6F502A
square
#2A6F2D #2A496F #6F2A6C #6F502A
split-complementary
#2A6F2D #502A6F #6F2A49
monochromatic
#081609 #19431B #2A6F2D #3B9B3F #55BF59

Accessibility & contrast

On white

6.16
#2A6F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#2A6F2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6F2D
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6F2D#FFFFFF#000000##FFFFFF
##2A6F2D1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716527
Deuteranopia (green-blind)
#685F32
Tritanopia (blue-blind)
#1D6C60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2a6f2d;
/* rgb */ color: rgb(42, 111, 45);
/* oklch */ color: oklch(48.2% 0.121 144.1);
Tailwind
colors: {
  custom: {
    50: '#6c9968',
    500: '#2a6f2d',
    950: '#000000',
  },
}
SCSS
$custom: #2a6f2d;
$custom-light: #6c9968;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6f2d",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 45
  },
  "hsl": {
    "h": 122.609,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.48176,
    "c": 0.12142,
    "h": 144.1
  },
  "luminance": 0.12051
}

Semantic roles & 50–950 ramp

primary
#2A6F2D
secondary
#A1549E
accent
#53CFD5
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2A6F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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