#308B1D#308B1D

#308B1D is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.167 H 140.7°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#308B1D
RGBrgb(48, 139, 29)
HSLhsl(110, 65%, 33%)
HSVhsv(110, 79%, 55%)
CMYKcmyk(65.5%, 0%, 79.1%, 45.5%)
CIE-LABlab(50.90, -47.13, 47.22)
CIE-LCHlch(50.90, 66.72, 134.95°)
OKLaboklab(56.12% -0.129 0.1056)
OKLCHoklch(56.12% 0.167 140.7)
XYZxyz(10.6728, 19.1813, 4.3021)
Luminance0.1918 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308B1D #781D8B
analogous
#678B1D #308B1D #1D8B41
triadic
#308B1D #1D308B #8B1D30
tetradic
#308B1D #1D678B #781D8B #8B411D
square
#308B1D #1D678B #781D8B #8B411D
split-complementary
#308B1D #411D8B #8B1D67
monochromatic
#0D2608 #1F5812 #308B1D #41BE28 #62D949

Accessibility & contrast

On white

4.34
#308B1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#308B1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308B1D
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308B1D#FFFFFF#000000##000000
##308B1D1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E01
Deuteranopia (green-blind)
#847629
Tritanopia (blue-blind)
#218676
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #308b1d;
/* rgb */ color: rgb(48, 139, 29);
/* oklch */ color: oklch(56.1% 0.167 140.7);
Tailwind
colors: {
  custom: {
    50: '#75ae62',
    500: '#308b1d',
    950: '#000000',
  },
}
SCSS
$custom: #308b1d;
$custom-light: #75ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#308b1d",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 29
  },
  "hsl": {
    "h": 109.636,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5612,
    "c": 0.16676,
    "h": 140.7
  },
  "luminance": 0.19182
}

Semantic roles & 50–950 ramp

primary
#308B1D
secondary
#A749BB
accent
#3FE8CB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #308B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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