#308B3F#308B3F

#308B3F is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.5% C 0.141 H 146.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#308B3F
RGBrgb(48, 139, 63)
HSLhsl(130, 49%, 37%)
HSVhsv(130, 65%, 55%)
CMYKcmyk(65.5%, 0%, 54.7%, 45.5%)
CIE-LABlab(51.21, -43.50, 32.61)
CIE-LCHlch(51.21, 54.37, 143.14°)
OKLaboklab(56.48% -0.1175 0.0783)
OKLCHoklch(56.48% 0.141 146.3)
XYZxyz(11.3480, 19.4514, 7.8581)
Luminance0.1945 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308B3F #8B307C
analogous
#4F8B30 #308B3F #308B6D
triadic
#308B3F #3F308B #8B3F30
tetradic
#308B3F #304F8B #8B307C #8B6D30
square
#308B3F #304F8B #8B307C #8B6D30
split-complementary
#308B3F #6D308B #8B304F
monochromatic
#113016 #205E2A #308B3F #40B854 #6ACC7A

Accessibility & contrast

On white

4.29
#308B3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#308B3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308B3F
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308B3F#FFFFFF#000000##000000
##308B3F1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7F38
Deuteranopia (green-blind)
#827745
Tritanopia (blue-blind)
#17887A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #308b3f;
/* rgb */ color: rgb(48, 139, 63);
/* oklch */ color: oklch(56.5% 0.141 146.3);
Tailwind
colors: {
  custom: {
    50: '#73ae76',
    500: '#308b3f',
    950: '#000000',
  },
}
SCSS
$custom: #308b3f;
$custom-light: #73ae76;
$custom-dark: #000000;
JSON
{
  "hex": "#308b3f",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 63
  },
  "hsl": {
    "h": 129.89,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.56479,
    "c": 0.1412,
    "h": 146.3
  },
  "luminance": 0.19452
}

Semantic roles & 50–950 ramp

primary
#308B3F
secondary
#B364A6
accent
#50C2D8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #308B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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