#308B34#308B34

#308B34 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.3% C 0.151 H 143.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#308B34
RGBrgb(48, 139, 52)
HSLhsl(123, 49%, 37%)
HSVhsv(123, 65%, 55%)
CMYKcmyk(65.5%, 0%, 62.6%, 45.5%)
CIE-LABlab(51.08, -44.97, 37.91)
CIE-LCHlch(51.08, 58.81, 139.87°)
OKLaboklab(56.33% -0.1219 0.0889)
OKLCHoklch(56.33% 0.151 143.9)
XYZxyz(11.0707, 19.3404, 6.3978)
Luminance0.1934 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308B34 #8B3087
analogous
#5A8B30 #308B34 #308B62
triadic
#308B34 #34308B #8B3430
tetradic
#308B34 #305A8B #8B3087 #8B6230
square
#308B34 #305A8B #8B3087 #8B6230
split-complementary
#308B34 #62308B #8B305A
monochromatic
#113012 #205E23 #308B34 #40B845 #6ACC6E

Accessibility & contrast

On white

4.31
#308B34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#308B34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308B34
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308B34#FFFFFF#000000##000000
##308B341.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E2A
Deuteranopia (green-blind)
#83773B
Tritanopia (blue-blind)
#1B8778
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #308b34;
/* rgb */ color: rgb(48, 139, 52);
/* oklch */ color: oklch(56.3% 0.151 143.9);
Tailwind
colors: {
  custom: {
    50: '#74ae6f',
    500: '#308b34',
    950: '#000000',
  },
}
SCSS
$custom: #308b34;
$custom-light: #74ae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#308b34",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 52
  },
  "hsl": {
    "h": 122.637,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.56332,
    "c": 0.1509,
    "h": 143.9
  },
  "luminance": 0.19342
}

Semantic roles & 50–950 ramp

primary
#308B34
secondary
#B364AF
accent
#50D2D8
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308B34

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

Preview Lab → · Contrast checker → · Palette generator →

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