#2A863F#2A863F

#2A863F is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.9% C 0.137 H 147.6°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#2A863F
RGBrgb(42, 134, 63)
HSLhsl(134, 52%, 35%)
HSVhsv(134, 69%, 53%)
CMYKcmyk(68.7%, 0%, 53%, 47.5%)
CIE-LABlab(49.37, -42.82, 30.33)
CIE-LCHlch(49.37, 52.48, 144.69°)
OKLaboklab(54.92% -0.1155 0.0732)
OKLCHoklch(54.92% 0.137 147.6)
XYZxyz(10.3764, 17.9002, 7.6099)
Luminance0.1790 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A863F #862A71
analogous
#43862A #2A863F #2A866D
triadic
#2A863F #3F2A86 #863F2A
tetradic
#2A863F #2A4386 #862A71 #866D2A
square
#2A863F #2A4386 #862A71 #866D2A
split-complementary
#2A863F #6D2A86 #862A43
monochromatic
#0D2913 #1B5729 #2A863F #39B555 #5ECD77

Accessibility & contrast

On white

4.58
#2A863F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#000000 on #2A863F
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A863F#FFFFFF#000000##000000
##2A863F1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887A39
Deuteranopia (green-blind)
#7C7244
Tritanopia (blue-blind)
#068376
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a863f;
/* rgb */ color: rgb(42, 134, 63);
/* oklch */ color: oklch(54.9% 0.137 147.6);
Tailwind
colors: {
  custom: {
    50: '#70aa76',
    500: '#2a863f',
    950: '#000000',
  },
}
SCSS
$custom: #2a863f;
$custom-light: #70aa76;
$custom-dark: #000000;
JSON
{
  "hex": "#2a863f",
  "rgb": {
    "r": 42,
    "g": 134,
    "b": 63
  },
  "hsl": {
    "h": 133.696,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54918,
    "c": 0.13674,
    "h": 147.6
  },
  "luminance": 0.17901
}

Semantic roles & 50–950 ramp

primary
#2A863F
secondary
#B25A9E
accent
#4CBBDC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2A863F

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

Preview Lab → · Contrast checker → · Palette generator →

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