#2A6723#2A6723

#2A6723 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.8% C 0.119 H 141.6°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#2A6723
RGBrgb(42, 103, 35)
HSLhsl(114, 49%, 27%)
HSVhsv(114, 66%, 40%)
CMYKcmyk(59.2%, 0%, 66%, 59.6%)
CIE-LABlab(38.40, -34.20, 31.70)
CIE-LCHlch(38.40, 46.63, 137.18°)
OKLaboklab(45.75% -0.0933 0.0739)
OKLCHoklch(45.75% 0.119 141.6)
XYZxyz(6.1082, 10.3136, 3.2586)
Luminance0.1031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6723 #602367
analogous
#4C6723 #2A6723 #23673E
triadic
#2A6723 #232A67 #67232A
tetradic
#2A6723 #234C67 #602367 #673E23
square
#2A6723 #234C67 #602367 #673E23
split-complementary
#2A6723 #3E2367 #67234C
monochromatic
#091708 #173913 #2A6723 #3D9533 #51C045

Accessibility & contrast

On white

6.86
#2A6723 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2A6723 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6723
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6723#FFFFFF#000000##FFFFFF
##2A67231.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E1B
Deuteranopia (green-blind)
#625829
Tritanopia (blue-blind)
#226459
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a6723;
/* rgb */ color: rgb(42, 103, 35);
/* oklch */ color: oklch(45.8% 0.119 141.6);
Tailwind
colors: {
  custom: {
    50: '#6b9361',
    500: '#2a6723',
    950: '#000000',
  },
}
SCSS
$custom: #2a6723;
$custom-light: #6b9361;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6723",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 35
  },
  "hsl": {
    "h": 113.824,
    "s": 49.275,
    "l": 27.059
  },
  "oklch": {
    "l": 0.45753,
    "c": 0.11905,
    "h": 141.6
  },
  "luminance": 0.10314
}

Semantic roles & 50–950 ramp

primary
#2A6723
secondary
#924B9B
accent
#4FD9CB
background
#F6F9F5
surface
#ECF1EA
border
#C7CBC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2A6723

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

Preview Lab → · Contrast checker → · Palette generator →

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