#308C2A#308C2A

#308C2A is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.160 H 142.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#308C2A
RGBrgb(48, 140, 42)
HSLhsl(116, 54%, 36%)
HSVhsv(116, 70%, 55%)
CMYKcmyk(65.7%, 0%, 70%, 45.1%)
CIE-LABlab(51.33, -46.43, 42.67)
CIE-LCHlch(51.33, 63.06, 137.41°)
OKLaboklab(56.5% -0.1264 0.0979)
OKLCHoklch(56.5% 0.16 142.2)
XYZxyz(11.0143, 19.5506, 5.3832)
Luminance0.1955 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308C2A #862A8C
analogous
#618C2A #308C2A #2A8C55
triadic
#308C2A #2A308C #8C2A30
tetradic
#308C2A #2A618C #862A8C #8C552A
square
#308C2A #2A618C #862A8C #8C552A
split-complementary
#308C2A #552A8C #8C2A61
monochromatic
#102E0E #205D1C #308C2A #40BB38 #68D061

Accessibility & contrast

On white

4.28
#308C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#308C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308C2A
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308C2A#FFFFFF#000000##000000
##308C2A1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1C
Deuteranopia (green-blind)
#847733
Tritanopia (blue-blind)
#1E8878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #308c2a;
/* rgb */ color: rgb(48, 140, 42);
/* oklch */ color: oklch(56.5% 0.160 142.2);
Tailwind
colors: {
  custom: {
    50: '#75ae69',
    500: '#308c2a',
    950: '#000000',
  },
}
SCSS
$custom: #308c2a;
$custom-light: #75ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#308c2a",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 42
  },
  "hsl": {
    "h": 116.327,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56502,
    "c": 0.15987,
    "h": 142.2
  },
  "luminance": 0.19552
}

Semantic roles & 50–950 ramp

primary
#308C2A
secondary
#B05CB5
accent
#4BDDD4
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308C2A

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

Preview Lab → · Contrast checker → · Palette generator →

#308C2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva