#308A1B#308A1B

#308A1B is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.167 H 140.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#308A1B
RGBrgb(48, 138, 27)
HSLhsl(109, 67%, 32%)
HSVhsv(109, 80%, 54%)
CMYKcmyk(65.2%, 0%, 80.4%, 45.9%)
CIE-LABlab(50.55, -46.91, 47.55)
CIE-LCHlch(50.55, 66.80, 134.61°)
OKLaboklab(55.83% -0.1285 0.106)
OKLCHoklch(55.83% 0.167 140.5)
XYZxyz(10.5047, 18.8834, 4.1280)
Luminance0.1888 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308A1B #751B8A
analogous
#678A1B #308A1B #1B8A3E
triadic
#308A1B #1B308A #8A1B30
tetradic
#308A1B #1B678A #751B8A #8A3E1B
square
#308A1B #1B678A #751B8A #8A3E1B
split-complementary
#308A1B #3E1B8A #8A1B67
monochromatic
#0C2407 #1E5711 #308A1B #42BD25 #61DB45

Accessibility & contrast

On white

4.40
#308A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#308A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308A1B
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308A1B#FFFFFF#000000##000000
##308A1B1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#837628
Tritanopia (blue-blind)
#228575
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #308a1b;
/* rgb */ color: rgb(48, 138, 27);
/* oklch */ color: oklch(55.8% 0.167 140.5);
Tailwind
colors: {
  custom: {
    50: '#75ad61',
    500: '#308a1b',
    950: '#000000',
  },
}
SCSS
$custom: #308a1b;
$custom-light: #75ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#308a1b",
  "rgb": {
    "r": 48,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 108.649,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55828,
    "c": 0.16662,
    "h": 140.5
  },
  "luminance": 0.18884
}

Semantic roles & 50–950 ramp

primary
#308A1B
secondary
#A545BC
accent
#3EEACA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #308A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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