#2A7323#2A7323

#2A7323 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.135 H 141.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#2A7323
RGBrgb(42, 115, 35)
HSLhsl(115, 53%, 29%)
HSVhsv(115, 70%, 45%)
CMYKcmyk(63.5%, 0%, 69.6%, 54.9%)
CIE-LABlab(42.57, -39.08, 36.29)
CIE-LCHlch(42.57, 53.33, 137.12°)
OKLaboklab(49.2% -0.1065 0.0836)
OKLCHoklch(49.2% 0.135 141.9)
XYZxyz(7.3886, 12.8744, 3.6854)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7323 #6C2373
analogous
#527323 #2A7323 #237344
triadic
#2A7323 #232A73 #73232A
tetradic
#2A7323 #235273 #6C2373 #734423
square
#2A7323 #235273 #6C2373 #734423
split-complementary
#2A7323 #442373 #732352
monochromatic
#091707 #194415 #2A7323 #3BA231 #54C849

Accessibility & contrast

On white

5.87
#2A7323 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2A7323 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7323
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7323#FFFFFF#000000##FFFFFF
##2A73231.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766818
Deuteranopia (green-blind)
#6D622A
Tritanopia (blue-blind)
#1E6F63
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a7323;
/* rgb */ color: rgb(42, 115, 35);
/* oklch */ color: oklch(49.2% 0.135 141.9);
Tailwind
colors: {
  custom: {
    50: '#6d9c62',
    500: '#2a7323',
    950: '#000000',
  },
}
SCSS
$custom: #2a7323;
$custom-light: #6d9c62;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7323",
  "rgb": {
    "r": 42,
    "g": 115,
    "b": 35
  },
  "hsl": {
    "h": 114.75,
    "s": 53.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.49196,
    "c": 0.13544,
    "h": 141.9
  },
  "luminance": 0.12875
}

Semantic roles & 50–950 ramp

primary
#2A7323
secondary
#9E4CA6
accent
#4BDDD0
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #2A7323

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

Preview Lab → · Contrast checker → · Palette generator →

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