#308B4F#308B4F

#308B4F is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.8% C 0.126 H 151.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#308B4F
RGBrgb(48, 139, 79)
HSLhsl(140, 49%, 37%)
HSVhsv(140, 65%, 55%)
CMYKcmyk(65.5%, 0%, 43.2%, 45.5%)
CIE-LABlab(51.45, -40.85, 24.39)
CIE-LCHlch(51.45, 47.58, 149.17°)
OKLaboklab(56.75% -0.1103 0.0603)
OKLCHoklch(56.75% 0.126 151.3)
XYZxyz(11.8619, 19.6569, 10.5647)
Luminance0.1966 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308B4F #8B306C
analogous
#3E8B30 #308B4F #308B7D
triadic
#308B4F #4F308B #8B4F30
tetradic
#308B4F #303E8B #8B306C #8B7D30
square
#308B4F #303E8B #8B306C #8B7D30
split-complementary
#308B4F #7D308B #8B303E
monochromatic
#11301B #205E35 #308B4F #40B869 #6ACC8B

Accessibility & contrast

On white

4.26
#308B4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#308B4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308B4F
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308B4F#FFFFFF#000000##000000
##308B4F1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C804B
Deuteranopia (green-blind)
#807753
Tritanopia (blue-blind)
#0B897C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308b4f;
/* rgb */ color: rgb(48, 139, 79);
/* oklch */ color: oklch(56.8% 0.126 151.3);
Tailwind
colors: {
  custom: {
    50: '#73ae81',
    500: '#308b4f',
    950: '#000000',
  },
}
SCSS
$custom: #308b4f;
$custom-light: #73ae81;
$custom-dark: #000000;
JSON
{
  "hex": "#308b4f",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 79
  },
  "hsl": {
    "h": 140.44,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.5675,
    "c": 0.12573,
    "h": 151.3
  },
  "luminance": 0.19658
}

Semantic roles & 50–950 ramp

primary
#308B4F
secondary
#B36498
accent
#50AAD8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #308B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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