#308B38#308B38

#308B38 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.147 H 144.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#308B38
RGBrgb(48, 139, 56)
HSLhsl(125, 49%, 37%)
HSVhsv(125, 65%, 55%)
CMYKcmyk(65.5%, 0%, 59.7%, 45.5%)
CIE-LABlab(51.13, -44.47, 36.03)
CIE-LCHlch(51.13, 57.23, 140.99°)
OKLaboklab(56.38% -0.1204 0.0852)
OKLCHoklch(56.38% 0.148 144.7)
XYZxyz(11.1647, 19.3780, 6.8926)
Luminance0.1938 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308B38 #8B3083
analogous
#568B30 #308B38 #308B66
triadic
#308B38 #38308B #8B3830
tetradic
#308B38 #30568B #8B3083 #8B6630
square
#308B38 #30568B #8B3083 #8B6630
split-complementary
#308B38 #66308B #8B3056
monochromatic
#113013 #205E26 #308B38 #40B84A #6ACC72

Accessibility & contrast

On white

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

On black

4.88
#308B38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308B38
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308B38#FFFFFF#000000##000000
##308B381.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E30
Deuteranopia (green-blind)
#82773F
Tritanopia (blue-blind)
#1A8779
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #308b38;
/* rgb */ color: rgb(48, 139, 56);
/* oklch */ color: oklch(56.4% 0.147 144.7);
Tailwind
colors: {
  custom: {
    50: '#74ae71',
    500: '#308b38',
    950: '#000000',
  },
}
SCSS
$custom: #308b38;
$custom-light: #74ae71;
$custom-dark: #000000;
JSON
{
  "hex": "#308b38",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 56
  },
  "hsl": {
    "h": 125.275,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.56382,
    "c": 0.1475,
    "h": 144.7
  },
  "luminance": 0.19379
}

Semantic roles & 50–950 ramp

primary
#308B38
secondary
#B364AC
accent
#50CCD8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #308B38

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

Preview Lab → · Contrast checker → · Palette generator →

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