#2A722B#2A722B

#2A722B is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.0% C 0.127 H 143.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#2A722B
RGBrgb(42, 114, 43)
HSLhsl(121, 46%, 31%)
HSVhsv(121, 63%, 45%)
CMYKcmyk(63.2%, 0%, 62.3%, 55.3%)
CIE-LABlab(42.31, -37.75, 32.18)
CIE-LCHlch(42.31, 49.61, 139.56°)
OKLaboklab(49% -0.1025 0.0758)
OKLCHoklch(49% 0.127 143.5)
XYZxyz(7.4078, 12.7006, 4.3461)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A722B #722A71
analogous
#4D722A #2A722B #2A724F
triadic
#2A722B #2B2A72 #722B2A
tetradic
#2A722B #2A4D72 #722A71 #724F2A
square
#2A722B #2A4D72 #722A71 #724F2A
split-complementary
#2A722B #4F2A72 #722A4D
monochromatic
#091909 #1A451A #2A722B #3A9F3C #56C157

Accessibility & contrast

On white

5.93
#2A722B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2A722B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A722B
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A722B#FFFFFF#000000##FFFFFF
##2A722B1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746824
Deuteranopia (green-blind)
#6B6131
Tritanopia (blue-blind)
#1C6F63
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a722b;
/* rgb */ color: rgb(42, 114, 43);
/* oklch */ color: oklch(49.0% 0.127 143.5);
Tailwind
colors: {
  custom: {
    50: '#6c9b67',
    500: '#2a722b',
    950: '#000000',
  },
}
SCSS
$custom: #2a722b;
$custom-light: #6c9b67;
$custom-dark: #000000;
JSON
{
  "hex": "#2a722b",
  "rgb": {
    "r": 42,
    "g": 114,
    "b": 43
  },
  "hsl": {
    "h": 120.833,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49004,
    "c": 0.12746,
    "h": 143.5
  },
  "luminance": 0.12701
}

Semantic roles & 50–950 ramp

primary
#2A722B
secondary
#A454A3
accent
#52D4D6
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2A722B

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

Preview Lab → · Contrast checker → · Palette generator →

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