#2A863D#2A863D

#2A863D is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.9% C 0.139 H 147.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#2A863D
RGBrgb(42, 134, 61)
HSLhsl(132, 52%, 35%)
HSVhsv(132, 69%, 53%)
CMYKcmyk(68.7%, 0%, 54.5%, 47.5%)
CIE-LABlab(49.35, -43.13, 31.34)
CIE-LCHlch(49.35, 53.31, 143.99°)
OKLaboklab(54.89% -0.1164 0.0753)
OKLCHoklch(54.89% 0.139 147.1)
XYZxyz(10.3215, 17.8783, 7.3209)
Luminance0.1788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A863D #862A73
analogous
#45862A #2A863D #2A866B
triadic
#2A863D #3D2A86 #863D2A
tetradic
#2A863D #2A4586 #862A73 #866B2A
square
#2A863D #2A4586 #862A73 #866B2A
split-complementary
#2A863D #6B2A86 #862A45
monochromatic
#0D2913 #1B5728 #2A863D #39B552 #5ECD75

Accessibility & contrast

On white

4.59
#2A863D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#2A863D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A863D
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A863D#FFFFFF#000000##FFFFFF
##2A863D1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887A36
Deuteranopia (green-blind)
#7C7242
Tritanopia (blue-blind)
#088375
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a863d;
/* rgb */ color: rgb(42, 134, 61);
/* oklch */ color: oklch(54.9% 0.139 147.1);
Tailwind
colors: {
  custom: {
    50: '#70aa74',
    500: '#2a863d',
    950: '#000000',
  },
}
SCSS
$custom: #2a863d;
$custom-light: #70aa74;
$custom-dark: #000000;
JSON
{
  "hex": "#2a863d",
  "rgb": {
    "r": 42,
    "g": 134,
    "b": 61
  },
  "hsl": {
    "h": 132.391,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54887,
    "c": 0.13862,
    "h": 147.1
  },
  "luminance": 0.17879
}

Semantic roles & 50–950 ramp

primary
#2A863D
secondary
#B25AA0
accent
#4CBEDC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2A863D

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

Preview Lab → · Contrast checker → · Palette generator →

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