#2A682F#2A682F

#2A682F is a mid, moderate green. Relative luminance 0.106; OKLCH L 46.2% C 0.109 H 145.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#2A682F
RGBrgb(42, 104, 47)
HSLhsl(125, 42%, 29%)
HSVhsv(125, 60%, 41%)
CMYKcmyk(59.6%, 0%, 54.8%, 59.2%)
CIE-LABlab(38.89, -33.01, 26.03)
CIE-LCHlch(38.89, 42.04, 141.74°)
OKLaboklab(46.21% -0.0895 0.0626)
OKLCHoklch(46.21% 0.109 145)
XYZxyz(6.4179, 10.5975, 4.3961)
Luminance0.1060 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A682F #682A63
analogous
#44682A #2A682F #2A684E
triadic
#2A682F #2F2A68 #682F2A
tetradic
#2A682F #2A4468 #682A63 #684E2A
square
#2A682F #2A4468 #682A63 #684E2A
split-complementary
#2A682F #4E2A68 #682A44
monochromatic
#09160A #183C1B #2A682F #3C9443 #53B95B

Accessibility & contrast

On white

6.73
#2A682F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2A682F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A682F
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A682F#FFFFFF#000000##FFFFFF
##2A682F1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5F2A
Deuteranopia (green-blind)
#625933
Tritanopia (blue-blind)
#1F655B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a682f;
/* rgb */ color: rgb(42, 104, 47);
/* oklch */ color: oklch(46.2% 0.109 145.0);
Tailwind
colors: {
  custom: {
    50: '#6a9469',
    500: '#2a682f',
    950: '#000000',
  },
}
SCSS
$custom: #2a682f;
$custom-light: #6a9469;
$custom-dark: #000000;
JSON
{
  "hex": "#2a682f",
  "rgb": {
    "r": 42,
    "g": 104,
    "b": 47
  },
  "hsl": {
    "h": 124.839,
    "s": 42.466,
    "l": 28.627
  },
  "oklch": {
    "l": 0.46207,
    "c": 0.10924,
    "h": 145
  },
  "luminance": 0.10598
}

Semantic roles & 50–950 ramp

primary
#2A682F
secondary
#9A5495
accent
#56C8D2
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #2A682F

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

Preview Lab → · Contrast checker → · Palette generator →

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