#3BA228#3BA228

#3BA228 is a light, vivid green. Relative luminance 0.269; OKLCH L 62.9% C 0.183 H 140.9°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#3BA228
RGBrgb(59, 162, 40)
HSLhsl(111, 60%, 40%)
HSVhsv(111, 75%, 64%)
CMYKcmyk(63.6%, 0%, 75.3%, 36.5%)
CIE-LABlab(58.90, -52.02, 51.35)
CIE-LCHlch(58.90, 73.09, 135.37°)
OKLaboklab(62.86% -0.1423 0.1157)
OKLCHoklch(62.86% 0.183 140.9)
XYZxyz(15.1062, 26.9222, 6.4075)
Luminance0.2692 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3BA228 #8F28A2
analogous
#78A228 #3BA228 #28A252
triadic
#3BA228 #283BA2 #A2283B
tetradic
#3BA228 #2878A2 #8F28A2 #A25228
square
#3BA228 #2878A2 #8F28A2 #A25228
split-complementary
#3BA228 #5228A2 #A22878
monochromatic
#174010 #29711C #3BA228 #50CE39 #7CDA6A

Accessibility & contrast

On white

3.29
#3BA228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#3BA228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3BA228
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3BA228#FFFFFF#000000##000000
##3BA2281.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6930F
Deuteranopia (green-blind)
#9A8B35
Tritanopia (blue-blind)
#2A9D8B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #3ba228;
/* rgb */ color: rgb(59, 162, 40);
/* oklch */ color: oklch(62.9% 0.183 140.9);
Tailwind
colors: {
  custom: {
    50: '#7ebe6a',
    500: '#3ba228',
    950: '#000000',
  },
}
SCSS
$custom: #3ba228;
$custom-light: #7ebe6a;
$custom-dark: #000000;
JSON
{
  "hex": "#3ba228",
  "rgb": {
    "r": 59,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 110.656,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62855,
    "c": 0.18339,
    "h": 140.9
  },
  "luminance": 0.26924
}

Semantic roles & 50–950 ramp

primary
#3BA228
secondary
#B265C1
accent
#44E4CB
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #3BA228

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

Preview Lab → · Contrast checker → · Palette generator →

#3BA228 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva