#2A803F#2A803F

#2A803F is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.2% C 0.128 H 148.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2A803F
RGBrgb(42, 128, 63)
HSLhsl(135, 51%, 33%)
HSVhsv(135, 67%, 50%)
CMYKcmyk(67.2%, 0%, 50.8%, 49.8%)
CIE-LABlab(47.35, -40.45, 27.82)
CIE-LCHlch(47.35, 49.10, 145.48°)
OKLaboklab(53.25% -0.1091 0.0676)
OKLCHoklch(53.25% 0.128 148.2)
XYZxyz(9.5705, 16.2885, 7.3413)
Luminance0.1629 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A803F #802A6B
analogous
#40802A #2A803F #2A806A
triadic
#2A803F #3F2A80 #803F2A
tetradic
#2A803F #2A4080 #802A6B #806A2A
square
#2A803F #2A4080 #802A6B #806A2A
split-complementary
#2A803F #6A2A80 #802A40
monochromatic
#0C2412 #1B5228 #2A803F #39AE56 #5BC976

Accessibility & contrast

On white

4.93
#2A803F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#2A803F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A803F
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A803F#FFFFFF#000000##FFFFFF
##2A803F1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81753A
Deuteranopia (green-blind)
#776D44
Tritanopia (blue-blind)
#0C7D71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a803f;
/* rgb */ color: rgb(42, 128, 63);
/* oklch */ color: oklch(53.2% 0.128 148.2);
Tailwind
colors: {
  custom: {
    50: '#6fa675',
    500: '#2a803f',
    950: '#000000',
  },
}
SCSS
$custom: #2a803f;
$custom-light: #6fa675;
$custom-dark: #000000;
JSON
{
  "hex": "#2a803f",
  "rgb": {
    "r": 42,
    "g": 128,
    "b": 63
  },
  "hsl": {
    "h": 134.651,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53247,
    "c": 0.12836,
    "h": 148.2
  },
  "luminance": 0.16289
}

Semantic roles & 50–950 ramp

primary
#2A803F
secondary
#AF5799
accent
#4EB8DA
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2A803F

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

Preview Lab → · Contrast checker → · Palette generator →

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