#308B27#308B27

#308B27 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.2% C 0.161 H 141.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#308B27
RGBrgb(48, 139, 39)
HSLhsl(115, 56%, 35%)
HSVhsv(115, 72%, 55%)
CMYKcmyk(65.5%, 0%, 71.9%, 45.5%)
CIE-LABlab(50.97, -46.34, 43.54)
CIE-LCHlch(50.97, 63.59, 136.78°)
OKLaboklab(56.2% -0.1263 0.0993)
OKLCHoklch(56.2% 0.161 141.8)
XYZxyz(10.8172, 19.2390, 5.0625)
Luminance0.1924 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308B27 #82278B
analogous
#628B27 #308B27 #278B50
triadic
#308B27 #27308B #8B2730
tetradic
#308B27 #27628B #82278B #8B5027
square
#308B27 #27628B #82278B #8B5027
split-complementary
#308B27 #50278B #8B2762
monochromatic
#0F2B0C #1F5B1A #308B27 #41BB34 #66D15B

Accessibility & contrast

On white

4.33
#308B27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#308B27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308B27
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308B27#FFFFFF#000000##000000
##308B271.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E17
Deuteranopia (green-blind)
#837731
Tritanopia (blue-blind)
#1F8777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #308b27;
/* rgb */ color: rgb(48, 139, 39);
/* oklch */ color: oklch(56.2% 0.161 141.8);
Tailwind
colors: {
  custom: {
    50: '#75ae67',
    500: '#308b27',
    950: '#000000',
  },
}
SCSS
$custom: #308b27;
$custom-light: #75ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#308b27",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 39
  },
  "hsl": {
    "h": 114.6,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56197,
    "c": 0.16071,
    "h": 141.8
  },
  "luminance": 0.1924
}

Semantic roles & 50–950 ramp

primary
#308B27
secondary
#AE58B6
accent
#48DFD2
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308B27

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

Preview Lab → · Contrast checker → · Palette generator →

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