#308F1C#308F1C

#308F1C 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#308F1C
RGBrgb(48, 143, 28)
HSLhsl(110, 67%, 34%)
HSVhsv(110, 80%, 56%)
CMYKcmyk(66.4%, 0%, 80.4%, 43.9%)
CIE-LABlab(52.24, -48.63, 48.84)
CIE-LCHlch(52.24, 68.92, 134.88°)
OKLaboklab(57.23% -0.1331 0.1088)
OKLCHoklch(57.23% 0.172 140.7)
XYZxyz(11.2504, 20.3560, 4.4346)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F1C #7B1C8F
analogous
#698F1C #308F1C #1C8F41
triadic
#308F1C #1C308F #8F1C30
tetradic
#308F1C #1C698F #7B1C8F #8F411C
square
#308F1C #1C698F #7B1C8F #8F411C
split-complementary
#308F1C #411C8F #8F1C69
monochromatic
#0E2908 #1F5C12 #308F1C #41C226 #63DC4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308F1C#FFFFFF#000000##000000
##308F1C1.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)
#887A2A
Tritanopia (blue-blind)
#1F8A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #308f1c;
/* rgb */ color: rgb(48, 143, 28);
/* oklch */ color: oklch(57.2% 0.172 140.7);
Tailwind
colors: {
  custom: {
    50: '#76b162',
    500: '#308f1c',
    950: '#000000',
  },
}
SCSS
$custom: #308f1c;
$custom-light: #76b162;
$custom-dark: #000000;
JSON
{
  "hex": "#308f1c",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 28
  },
  "hsl": {
    "h": 109.565,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57227,
    "c": 0.17196,
    "h": 140.7
  },
  "luminance": 0.20357
}

Semantic roles & 50–950 ramp

primary
#308F1C
secondary
#A949BE
accent
#3EEACC
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #308F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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