#308F1B#308F1B

#308F1B is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.2% C 0.172 H 140.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#308F1B
RGBrgb(48, 143, 27)
HSLhsl(109, 68%, 33%)
HSVhsv(109, 81%, 56%)
CMYKcmyk(66.4%, 0%, 81.1%, 43.9%)
CIE-LABlab(52.23, -48.69, 49.15)
CIE-LCHlch(52.23, 69.19, 134.73°)
OKLaboklab(57.22% -0.1333 0.1093)
OKLCHoklch(57.22% 0.172 140.7)
XYZxyz(11.2387, 20.3513, 4.3726)
Luminance0.2035 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F1B #7A1B8F
analogous
#6A8F1B #308F1B #1B8F40
triadic
#308F1B #1B308F #8F1B30
tetradic
#308F1B #1B6A8F #7A1B8F #8F401B
square
#308F1B #1B6A8F #7A1B8F #8F401B
split-complementary
#308F1B #401B8F #8F1B6A
monochromatic
#0D2808 #1F5C11 #308F1B #41C225 #63DC48

Accessibility & contrast

On white

4.14
#308F1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#308F1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308F1B
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308F1B#FFFFFF#000000##000000
##308F1B1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#1F8A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #308f1b;
/* rgb */ color: rgb(48, 143, 27);
/* oklch */ color: oklch(57.2% 0.172 140.7);
Tailwind
colors: {
  custom: {
    50: '#76b162',
    500: '#308f1b',
    950: '#000000',
  },
}
SCSS
$custom: #308f1b;
$custom-light: #76b162;
$custom-dark: #000000;
JSON
{
  "hex": "#308f1b",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 27
  },
  "hsl": {
    "h": 109.138,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57221,
    "c": 0.17245,
    "h": 140.7
  },
  "luminance": 0.20352
}

Semantic roles & 50–950 ramp

primary
#308F1B
secondary
#A948BE
accent
#3DEBCC
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #308F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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