#308D1B#308D1B

#308D1B is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.170 H 140.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#308D1B
RGBrgb(48, 141, 27)
HSLhsl(109, 68%, 33%)
HSVhsv(109, 81%, 55%)
CMYKcmyk(66%, 0%, 80.9%, 44.7%)
CIE-LABlab(51.56, -47.98, 48.52)
CIE-LCHlch(51.56, 68.24, 134.68°)
OKLaboklab(56.67% -0.1314 0.108)
OKLCHoklch(56.67% 0.17 140.6)
XYZxyz(10.9411, 19.7562, 4.2734)
Luminance0.1976 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D1B #781B8D
analogous
#698D1B #308D1B #1B8D3F
triadic
#308D1B #1B308D #8D1B30
tetradic
#308D1B #1B698D #781B8D #8D3F1B
square
#308D1B #1B698D #781B8D #8D3F1B
split-complementary
#308D1B #3F1B8D #8D1B69
monochromatic
#0D2607 #1F5A11 #308D1B #41C025 #62DC47

Accessibility & contrast

On white

4.24
#308D1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#308D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308D1B
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308D1B#FFFFFF#000000##000000
##308D1B1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#867829
Tritanopia (blue-blind)
#208878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308d1b;
/* rgb */ color: rgb(48, 141, 27);
/* oklch */ color: oklch(56.7% 0.170 140.6);
Tailwind
colors: {
  custom: {
    50: '#76af61',
    500: '#308d1b',
    950: '#000000',
  },
}
SCSS
$custom: #308d1b;
$custom-light: #76af61;
$custom-dark: #000000;
JSON
{
  "hex": "#308d1b",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 108.947,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56665,
    "c": 0.17013,
    "h": 140.6
  },
  "luminance": 0.19757
}

Semantic roles & 50–950 ramp

primary
#308D1B
secondary
#A746BD
accent
#3DEBCB
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #308D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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